Changeset a32b204 for translator/SymTab/AggregateTable.h
- Timestamp:
- May 17, 2015, 1:19:35 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- 0dd3a2f
- Parents:
- b87a5ed
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
translator/SymTab/AggregateTable.h
rb87a5ed ra32b204 25 25 AggregateDeclClass *operator()( AggregateDeclClass *existing, AggregateDeclClass *added ) 26 26 { 27 if ( existing->get_members().empty() ) {27 if ( existing->get_members().empty() ) { 28 28 return added; 29 } else if ( !added->get_members().empty() ) {29 } else if ( ! added->get_members().empty() ) { 30 30 throw SemanticError( "redeclaration of ", added ); 31 31 }
Note: See TracChangeset
for help on using the changeset viewer.