Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/Resolver.cc

    r293dc1c r954c954  
    11051105                }
    11061106
    1107                
    1108         } // anonymous namespace
    1109 /// Establish post-resolver invariants for expressions
     1107                /// Establish post-resolver invariants for expressions
    11101108                void finishExpr(
    11111109                        ast::ptr< ast::Expr > & expr, const ast::TypeEnvironment & env,
     
    11201118                        StripCasts_new::strip( expr );
    11211119                }
     1120        } // anonymous namespace
     1121
    11221122
    11231123        ast::ptr< ast::Expr > resolveInVoidContext(
     
    11391139        }
    11401140
    1141         /// Resolve `untyped` to the expression whose candidate is the best match for a `void`
     1141        namespace {
     1142                /// Resolve `untyped` to the expression whose candidate is the best match for a `void`
    11421143                /// context.
    11431144                ast::ptr< ast::Expr > findVoidExpression(
     
    11501151                        return newExpr;
    11511152                }
    1152 
    1153         namespace {
    1154                
    11551153
    11561154                /// resolve `untyped` to the expression whose candidate satisfies `pred` with the
     
    11641162                        CandidateRef choice =
    11651163                                findUnfinishedKindExpression( untyped, symtab, kind, pred, mode );
    1166                         ResolvExpr::finishExpr( choice->expr, choice->env, untyped->env );
     1164                        finishExpr( choice->expr, choice->env, untyped->env );
    11671165                        return std::move( choice->expr );
    11681166                }
     
    12741272        // size_t Resolver_new::traceId = Stats::Heap::new_stacktrace_id("Resolver");
    12751273
    1276         void resolve( ast::TranslationUnit& translationUnit ) {
     1274        void resolve( std::list< ast::ptr< ast::Decl > >& translationUnit ) {
    12771275                ast::Pass< Resolver_new >::run( translationUnit );
    12781276        }
Note: See TracChangeset for help on using the changeset viewer.