LG
================
Comment at: lib/ASTMatchers/ASTMatchFinder.cpp:758-762
@@ -757,7 +757,7 @@
}
Visitor.set_active_ast_context(&Context);
Visitor.onStartOfTranslationUnit();
Visitor.TraverseDecl(Context.getTranslationUnitDecl());
Visitor.onEndOfTranslationUnit();
Visitor.set_active_ast_context(NULL);
}
----------------
I'm wondring whether we now would want to just hand the ASTMatchFinder* down
and call matchesAST from here?
http://llvm-reviews.chandlerc.com/D2115
BRANCH
clangquery5
ARCANIST PROJECT
clang
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits