Ignore:
Timestamp:
Jan 31, 2018, 4:50:37 PM (6 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
c28a038d
Parents:
574894d
Message:

Change Indexer::addWith to take a list of expressions instead of a WithStmt?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/PassVisitor.impl.h

    r574894d r4670c79  
    994994                // catch statements introduce a level of scope (for the caught exception)
    995995                auto guard = makeFuncGuard( [this]() { indexerScopeEnter(); }, [this]() { indexerScopeLeave(); } );
    996                 indexerAddWith( node );
     996                indexerAddWith( node->exprs );
    997997                maybeAccept_impl( node->stmt, *this );
    998998        }
     
    10071007                // catch statements introduce a level of scope (for the caught exception)
    10081008                auto guard = makeFuncGuard( [this]() { indexerScopeEnter(); }, [this]() { indexerScopeLeave(); } );
    1009                 indexerAddWith( node );
     1009                indexerAddWith( node->exprs );
    10101010                maybeMutate_impl( node->stmt, *this );
    10111011        }
Note: See TracChangeset for help on using the changeset viewer.