Changeset b2e2e34 for src/CodeGen
- Timestamp:
- Sep 12, 2017, 4:08:01 PM (8 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:
- c935c3a
- Parents:
- 21a1efb (diff), a46478a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/CodeGen/Generate.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/Generate.cc
r21a1efb rb2e2e34 33 33 /// Removes misc. nodes that should not exist in CodeGen 34 34 struct TreeCleaner { 35 void visit( CompoundStmt * stmt );35 void previsit( CompoundStmt * stmt ); 36 36 37 37 static bool shouldClean( Declaration * ); … … 72 72 73 73 namespace { 74 void TreeCleaner:: visit( CompoundStmt * cstmt ) {74 void TreeCleaner::previsit( 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.