[PATCH] D65092: [clang] Add isDirectlyDerivedFrom AST Matcher.

Anton Bikineev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 22 07:14:24 PDT 2019


AntonBikineev created this revision.
AntonBikineev added a reviewer: rsmith.
AntonBikineev added a project: clang.

This patch adds isDirectlyDerivedFrom AST-matcher which is similar to isDerivedFrom but only matches against direct base classes.


Repository:
  rC Clang

https://reviews.llvm.org/D65092

Files:
  clang/docs/LibASTMatchersReference.html
  clang/include/clang/ASTMatchers/ASTMatchers.h
  clang/include/clang/ASTMatchers/ASTMatchersInternal.h
  clang/lib/ASTMatchers/ASTMatchFinder.cpp
  clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65092.211091.patch
Type: text/x-patch
Size: 24016 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190722/3d2733d6/attachment-0001.bin>


More information about the cfe-commits mailing list