Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/FixNames.cc

    rc6b4432 r61efa42  
    2828
    2929namespace CodeGen {
     30
     31namespace {
     32
    3033/// Does work with the main function and scopeLevels.
    31 class FixNames_new final {
     34class FixNames final {
    3235        int scopeLevel = 1;
    3336
     
    4548
    4649        const ast::FunctionDecl *postvisit( const ast::FunctionDecl *functionDecl ) {
    47                 if ( FixMain::isMain( functionDecl ) ) {
     50                if ( isMain( functionDecl ) ) {
    4851                        auto mutDecl = ast::mutate( functionDecl );
    4952
     
    8083};
    8184
     85} // namespace
     86
    8287void fixNames( ast::TranslationUnit & translationUnit ) {
    83         ast::Pass<FixNames_new>::run( translationUnit );
     88        ast::Pass<FixNames>::run( translationUnit );
    8489}
    8590
Note: See TracChangeset for help on using the changeset viewer.