Changeset 956a9c7
- Timestamp:
- Jul 15, 2016, 1:22:34 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 2be1023, 31e46b8
- Parents:
- 834d4fc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Validate.cc
r834d4fc r956a9c7 541 541 if ( StructInstType *aggDecl = dynamic_cast< StructInstType * >( tyDecl->get_base() ) ) { 542 542 return new StructDecl( aggDecl->get_name() ); 543 // return aggDecl->get_baseStruct();544 543 } else if ( UnionInstType *aggDecl = dynamic_cast< UnionInstType * >( tyDecl->get_base() ) ) { 545 544 return new UnionDecl( aggDecl->get_name() ); 545 } else if ( EnumInstType *enumDecl = dynamic_cast< EnumInstType * >( tyDecl->get_base() ) ) { 546 return new EnumDecl( enumDecl->get_name() ); 546 547 } else { 547 548 return ret;
Note: See TracChangeset
for help on using the changeset viewer.