Changeset 2e9b59b for src/CodeGen/GenType.cc
- Timestamp:
- Apr 19, 2022, 3:00:04 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
- Children:
- 5b84a321
- Parents:
- ba897d21 (diff), bb7c77d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/GenType.cc
rba897d21 r2e9b59b 253 253 254 254 void GenType::postvisit( EnumInstType * enumInst ) { 255 typeString = enumInst->name + " " + typeString; 256 if ( options.genC ) typeString = "enum " + typeString; 255 if ( enumInst->baseEnum->base ) { 256 typeString = genType(enumInst->baseEnum->base, "", options) + typeString; 257 } else { 258 typeString = enumInst->name + " " + typeString; 259 if ( options.genC ) { 260 typeString = "enum " + typeString; 261 } 262 } 257 263 handleQualifiers( enumInst ); 258 264 }
Note:
See TracChangeset
for help on using the changeset viewer.