Changeset 31e46b8 for src/Parser/DeclarationNode.cc
- Timestamp:
- Jul 22, 2016, 2:05:52 PM (9 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:
- ccb447e, e4957e7
- Parents:
- 956a9c77 (diff), ef3b335 (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/Parser/DeclarationNode.cc
r956a9c77 r31e46b8 10 10 // Created On : Sat May 16 12:34:05 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : T hu Jun 30 14:39:51 201613 // Update Count : 16 312 // Last Modified On : Tue Jul 12 20:49:31 2016 13 // Update Count : 164 14 14 // 15 15 … … 184 184 } // DeclarationNode::newFromTypedef 185 185 186 DeclarationNode *DeclarationNode::newAggregate( Aggregate kind, const std::string *name, ExpressionNode *actuals, DeclarationNode *fields ) {186 DeclarationNode *DeclarationNode::newAggregate( Aggregate kind, const std::string *name, ExpressionNode *actuals, DeclarationNode *fields, bool body ) { 187 187 DeclarationNode *newnode = new DeclarationNode; 188 188 newnode->type = new TypeData( TypeData::Aggregate ); … … 194 194 newnode->type->aggregate->actuals = actuals; 195 195 newnode->type->aggregate->fields = fields; 196 newnode->type->aggregate->body = body; 196 197 return newnode; 197 198 } // DeclarationNode::newAggregate
Note:
See TracChangeset
for help on using the changeset viewer.