Changes in src/Validate/Autogen.cpp [d958834b:91715ce1]
- File:
-
- 1 edited
-
src/Validate/Autogen.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Validate/Autogen.cpp
rd958834b r91715ce1 235 235 // Must visit children (enum constants) to add them to the symbol table. 236 236 if ( !enumDecl->body ) return; 237 238 // if ( auto enumBaseType = enumDecl->base ) {239 // if ( auto enumBaseTypeAsStructInst = dynamic_cast<const ast::StructInstType *>(enumBaseType.get()) ) {240 // const ast::StructDecl * structDecl = enumBaseTypeAsStructInst->base.get();241 // this->previsit( structDecl );242 // }243 // }244 237 245 238 ast::EnumInstType enumInst( enumDecl->name );
Note:
See TracChangeset
for help on using the changeset viewer.