Changeset 84276ba
- Timestamp:
- Jan 31, 2018, 4:45:47 PM (5 years ago)
- Branches:
- aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 574894d
- Parents:
- 2cb70aa
- Location:
- src/Parser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/TypeData.cc
r2cb70aa r84276ba 55 55 function.body = nullptr; 56 56 function.newStyle = false; 57 function.withExprs = nullptr; 57 58 break; 58 59 // Enum is an Aggregate, so both structures are initialized together. … … 122 123 delete function.oldDeclList; 123 124 delete function.body; 125 delete function.withExprs; 124 126 // delete function; 125 127 break; … … 194 196 newtype->function.body = maybeClone( function.body ); 195 197 newtype->function.newStyle = function.newStyle; 198 newtype->function.withExprs = maybeClone( function.withExprs ); 196 199 break; 197 200 case Aggregate: -
src/Parser/TypeData.h
r2cb70aa r84276ba 65 65 StatementNode * body; 66 66 bool newStyle; 67 ExpressionNode * withExprs; // expressions from function's with_clause 67 68 }; 68 69
Note: See TracChangeset
for help on using the changeset viewer.