Changeset 2174191 for src/CodeGen/FixNames.cc
- Timestamp:
- Nov 11, 2023, 7:43:14 AM (7 months ago)
- Branches:
- master
- Children:
- fc12f05
- Parents:
- 2da12ae (diff), 61efa42 (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
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/FixNames.cc
r2da12ae r2174191 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.