[PATCH] D69218: [clang][AST] Add `CXXBaseSpecifier` matcher support
Nikita Kniazev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Oct 19 14:00:16 PDT 2019
nick created this revision.
nick added a reviewer: klimek.
nick added a project: clang.
Herald added a subscriber: cfe-commits.
Required for capturing base specifier in matchers:
`cxxRecordDecl(hasBase(cxxBaseSpecifier().bind("base")))`
Will make implementation of D69000 <https://reviews.llvm.org/D69000> much clearer and simpler.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D69218
Files:
clang/include/clang/AST/ASTTypeTraits.h
clang/include/clang/ASTMatchers/ASTMatchers.h
clang/include/clang/ASTMatchers/ASTMatchersInternal.h
clang/lib/AST/ASTTypeTraits.cpp
clang/unittests/AST/ASTTypeTraitsTest.cpp
clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69218.225766.patch
Type: text/x-patch
Size: 8930 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191019/9e1d7326/attachment.bin>
More information about the cfe-commits
mailing list