Changes in src/CodeGen/Generate.cc [a54840b:a984e65]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/Generate.cc
ra54840b ra984e65 33 33 /// Removes misc. nodes that should not exist in CodeGen 34 34 struct TreeCleaner { 35 void previsit( CompoundStmt * stmt );35 void visit( CompoundStmt * stmt ); 36 36 37 37 static bool shouldClean( Declaration * ); … … 72 72 73 73 namespace { 74 void TreeCleaner:: previsit( CompoundStmt * cstmt ) {74 void TreeCleaner::visit( CompoundStmt * cstmt ) { 75 75 filter( cstmt->kids, [](Statement * stmt) { 76 76 if ( DeclStmt * declStmt = dynamic_cast< DeclStmt * >( stmt ) ) {
Note: See TracChangeset
for help on using the changeset viewer.