[PATCH] D96114: [ASTMatchers] Fix parent-child traversal between functions and parms

Stephen Kelly via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 5 03:40:22 PST 2021


steveire created this revision.
steveire added reviewers: aaron.ballman, njames93.
Herald added a subscriber: kristof.beyls.
steveire requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Having to match on the typeLoc in AsIs mode is undesirable, but keep it
for now for compatbility.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D96114

Files:
  clang/include/clang/AST/RecursiveASTVisitor.h
  clang/lib/AST/ParentMapContext.cpp
  clang/lib/ASTMatchers/ASTMatchFinder.cpp
  clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
  clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96114.321697.patch
Type: text/x-patch
Size: 7248 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210205/4f2bf07e/attachment.bin>


More information about the cfe-commits mailing list