Changes in src/SymTab/AddVisit.h [30f9072:ba3706f]
- File:
-
- 1 edited
-
src/SymTab/AddVisit.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/AddVisit.h
r30f9072 rba3706f 24 24 // add any new declarations after the previous statement 25 25 for ( std::list< Declaration* >::iterator decl = visitor.declsToAddAfter.begin(); decl != visitor.declsToAddAfter.end(); ++decl ) { 26 DeclStmt *declStmt = new DeclStmt( noLabels,*decl );26 DeclStmt *declStmt = new DeclStmt( *decl ); 27 27 stmts.insert( stmt, declStmt ); 28 28 } … … 36 36 // add any new declarations before the statement 37 37 for ( std::list< Declaration* >::iterator decl = visitor.declsToAdd.begin(); decl != visitor.declsToAdd.end(); ++decl ) { 38 DeclStmt *declStmt = new DeclStmt( noLabels,*decl );38 DeclStmt *declStmt = new DeclStmt( *decl ); 39 39 stmts.insert( stmt, declStmt ); 40 40 }
Note:
See TracChangeset
for help on using the changeset viewer.