[PATCH] D54309: [AST] Allow limiting the scope of common AST traversals (getParents, RAV).

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 14 01:44:10 PST 2018


sammccall updated this revision to Diff 174000.
sammccall marked 2 inline comments as done.
sammccall added a comment.

Address review comments.
Remove special case for TUDecl since no-parents is now handled.


Repository:
  rC Clang

https://reviews.llvm.org/D54309

Files:
  include/clang/AST/ASTContext.h
  include/clang/AST/RecursiveASTVisitor.h
  lib/AST/ASTContext.cpp
  lib/ASTMatchers/ASTMatchFinder.cpp
  unittests/AST/ASTContextParentMapTest.cpp
  unittests/Tooling/CMakeLists.txt
  unittests/Tooling/RecursiveASTVisitorTests/TraversalScope.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54309.174000.patch
Type: text/x-patch
Size: 25820 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181114/f47d0bba/attachment-0001.bin>


More information about the cfe-commits mailing list