Changeset 5d125e4 for src/Parser/DeclarationNode.cc
- Timestamp:
- Jul 15, 2016, 10:16:47 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:
- 873ffb7
- Parents:
- 5ed9061
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/DeclarationNode.cc
r5ed9061 r5d125e4 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.