Changeset 2dda05d


Ignore:
Timestamp:
Dec 12, 2020, 1:50:30 AM (4 years ago)
Author:
Fangren Yu <f37yu@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
4803a901
Parents:
5b9a0ae
Message:

recursively visit inferred

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/Resolver.cc

    r5b9a0ae r2dda05d  
    968968        namespace {
    969969                /// Finds deleted expressions in an expression tree
    970                 struct DeleteFinder_new final : public ast::WithShortCircuiting {
     970                struct DeleteFinder_new final : public ast::WithShortCircuiting, public ast::WithVisitorRef<DeleteFinder_new> {
    971971                        const ast::DeletedExpr * result = nullptr;
    972972
     
    980980                                if (expr->inferred.hasParams()) {
    981981                                        for (auto & imp : expr->inferred.inferParams() ) {
    982                                                 previsit(imp.second.expr);
     982                                                imp.second.expr->accept(*visitor);
    983983                                        }
    984984                                }
Note: See TracChangeset for help on using the changeset viewer.