Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/BoxNew.cpp

    r097c8d0 rd3652df  
    17261726
    17271727// --------------------------------------------------------------------------
    1728 // TODO: This is kind of a blind test. I believe all withExprs are handled
    1729 // in the resolver and we could clear them out after that.
    1730 struct RemoveWithExprs final {
    1731         ast::FunctionDecl const * postvisit( ast::FunctionDecl const * decl ) {
    1732                 if ( decl->withExprs.empty() ) return decl;
    1733                 auto mutDecl = mutate( decl );
    1734                 mutDecl->withExprs.clear();
    1735                 return mutDecl;
    1736         }
    1737 };
    1738 
    1739 // --------------------------------------------------------------------------
    17401728/// Inserts code to access polymorphic layout inforation.
    17411729/// * Replaces member and size/alignment/offsetof expressions on polymorphic
     
    25112499        ast::Pass<DeclAdapter>::run( translationUnit );
    25122500        ast::Pass<RewireAdapters>::run( translationUnit );
    2513         ast::Pass<RemoveWithExprs>::run( translationUnit );
    25142501        ast::Pass<PolyGenericCalculator>::run( translationUnit );
    25152502        ast::Pass<Eraser>::run( translationUnit );
Note: See TracChangeset for help on using the changeset viewer.