Changeset 2037f82
- Timestamp:
- Aug 19, 2016, 2:33:04 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:
- 4a7d895, 4f147cc
- Parents:
- ac71a86
- Location:
- src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/DeclarationNode.cc
rac71a86 r2037f82 776 776 } // if 777 777 } // if 778 delete o; 778 779 return o; 779 780 } -
src/Parser/parser.cc
rac71a86 r2037f82 7095 7095 case 554: 7096 7096 #line 2139 "parser.yy" /* yacc.c:1646 */ 7097 { }7097 { delete (yyvsp[0].tok); } 7098 7098 #line 7099 "Parser/parser.cc" /* yacc.c:1646 */ 7099 7099 break; … … 7101 7101 case 555: 7102 7102 #line 2140 "parser.yy" /* yacc.c:1646 */ 7103 { }7103 { delete (yyvsp[0].decl); } 7104 7104 #line 7105 "Parser/parser.cc" /* yacc.c:1646 */ 7105 7105 break; … … 7107 7107 case 556: 7108 7108 #line 2141 "parser.yy" /* yacc.c:1646 */ 7109 { }7109 { delete (yyvsp[0].decl); } 7110 7110 #line 7111 "Parser/parser.cc" /* yacc.c:1646 */ 7111 7111 break; … … 7113 7113 case 557: 7114 7114 #line 2142 "parser.yy" /* yacc.c:1646 */ 7115 { }7115 { delete (yyvsp[0].decl); } 7116 7116 #line 7117 "Parser/parser.cc" /* yacc.c:1646 */ 7117 7117 break; -
src/Parser/parser.yy
rac71a86 r2037f82 2137 2137 2138 2138 any_word: // GCC 2139 identifier_or_type_name { }2140 | storage_class { }2141 | basic_type_name { }2142 | type_qualifier { }2139 identifier_or_type_name { delete $1; } 2140 | storage_class { delete $1; } 2141 | basic_type_name { delete $1; } 2142 | type_qualifier { delete $1; } 2143 2143 ; 2144 2144 -
src/SynTree/FunctionDecl.cc
rac71a86 r2037f82 39 39 delete type; 40 40 delete statements; 41 deleteAll( oldDecls ); 41 42 } 42 43 -
src/SynTree/Statement.cc
rac71a86 r2037f82 159 159 delete condition; 160 160 // destroy statements 161 deleteAll( statements ); 161 162 } 162 163 … … 187 188 CaseStmt::~CaseStmt() { 188 189 delete condition; 190 deleteAll( stmts ); 189 191 } 190 192 … … 220 222 WhileStmt::~WhileStmt() { 221 223 delete body; 224 delete condition; 222 225 } 223 226 … … 294 297 TryStmt::~TryStmt() { 295 298 delete block; 299 deleteAll( handlers ); 300 delete finallyBlock; 296 301 } 297 302
Note: See TracChangeset
for help on using the changeset viewer.