llvm-project/clang/lib/ASTMatchers
Manuel Klimek b64d6b7fee Implements memoization for ancestor matching.
This yields a log(#ast_nodes) worst-case improvement with matchers like
stmt(unless(hasAncestor(...))).

Also made the order of visitation for ancestor matches BFS, as the most
common use cases (for example finding the closest enclosing function
definition) rely on that.

llvm-svn: 177081
2013-03-14 16:33:21 +00:00
..
ASTMatchFinder.cpp Implements memoization for ancestor matching. 2013-03-14 16:33:21 +00:00
ASTMatchersInternal.cpp Fix partial-match-bind-behavior with forEachDescendant() matchers. 2012-11-16 18:39:22 +00:00
CMakeLists.txt Make libASTMatchers link its dependencies. libRewriteFrontend depends on libRewriteCore. 2012-11-16 17:30:58 +00:00
Makefile