[PATCH] D88275: [ASTMatchers] Add matcher `hasParentIgnoringImplicit`.
Yitzhak Mandelbaum via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 24 20:04:31 PDT 2020
ymandel created this revision.
ymandel added a reviewer: gribozavr2.
Herald added a project: clang.
ymandel requested review of this revision.
This matcher combines the features of the `hasParent` matcher with
skip-implicit-expression-nodes behavior of `ignoringImplicit`. It finds the
first ancestor which is reachable through only implict expression nodes and
matches the given argument matcher.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D88275
Files:
clang/include/clang/ASTMatchers/ASTMatchers.h
clang/include/clang/ASTMatchers/ASTMatchersInternal.h
clang/lib/ASTMatchers/ASTMatchFinder.cpp
clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88275.294220.patch
Type: text/x-patch
Size: 6232 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200925/17c2e2ca/attachment.bin>
More information about the cfe-commits
mailing list