Changeset 574894d for src/SynTree
- Timestamp:
- Jan 31, 2018, 4:47:30 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, 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:
- 4670c79
- Parents:
- 84276ba
- Location:
- src/SynTree
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Declaration.h
r84276ba r574894d 151 151 FunctionType *type; 152 152 CompoundStmt *statements; 153 std::list< Expression * > withExprs; 153 154 154 155 FunctionDecl( const std::string &name, Type::StorageClasses scs, LinkageSpec::Spec linkage, FunctionType *type, CompoundStmt *statements, -
src/SynTree/FunctionDecl.cc
r84276ba r574894d 51 51 VarExprReplacer::replace( this, declMap ); 52 52 } 53 cloneAll( other.withExprs, withExprs ); 53 54 } 54 55 … … 56 57 delete type; 57 58 delete statements; 59 deleteAll( withExprs ); 58 60 } 59 61
Note: See TracChangeset
for help on using the changeset viewer.