Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Pass.impl.hpp

    rc600df1 r6cebfef  
    420420template< typename core_t >
    421421inline void ast::accept_all( ast::TranslationUnit & unit, ast::Pass< core_t > & visitor ) {
    422         if ( auto ptr = __pass::translation_unit::get_cptr( visitor.core, 0 ) ) {
    423                 ValueGuard<const TranslationUnit *> guard( *ptr );
    424                 *ptr = &unit;
    425                 return ast::accept_all( unit.decls, visitor );
    426         } else {
    427                 return ast::accept_all( unit.decls, visitor );
    428         }
     422        return ast::accept_all( unit.decls, visitor );
    429423}
    430424
Note: See TracChangeset for help on using the changeset viewer.