Changes in src/CodeGen/FixNames.cc [61efa42:c6b4432]
- File:
-
- 1 edited
-
src/CodeGen/FixNames.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/FixNames.cc
r61efa42 rc6b4432 28 28 29 29 namespace CodeGen { 30 31 namespace {32 33 30 /// Does work with the main function and scopeLevels. 34 class FixNames final {31 class FixNames_new final { 35 32 int scopeLevel = 1; 36 33 … … 48 45 49 46 const ast::FunctionDecl *postvisit( const ast::FunctionDecl *functionDecl ) { 50 if ( isMain( functionDecl ) ) {47 if ( FixMain::isMain( functionDecl ) ) { 51 48 auto mutDecl = ast::mutate( functionDecl ); 52 49 … … 83 80 }; 84 81 85 } // namespace86 87 82 void fixNames( ast::TranslationUnit & translationUnit ) { 88 ast::Pass<FixNames >::run( translationUnit );83 ast::Pass<FixNames_new>::run( translationUnit ); 89 84 } 90 85
Note:
See TracChangeset
for help on using the changeset viewer.