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