[PATCH] D80685: [ASTMatchers] Add traversal-kind support to `DynTypedMatcher`

Yitzhak Mandelbaum via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 27 19:39:31 PDT 2020


ymandel created this revision.
ymandel added reviewers: gribozavr, steveire.
Herald added a project: clang.

This patch exposes `TraversalKind` support in the `DynTypedMatcher` API. While
previously, the `match` method supported traversal logic, it was not possible to
set or get the traversal kind.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80685

Files:
  clang/include/clang/ASTMatchers/ASTMatchersInternal.h
  clang/lib/ASTMatchers/ASTMatchersInternal.cpp
  clang/unittests/ASTMatchers/ASTMatchersInternalTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80685.266717.patch
Type: text/x-patch
Size: 4936 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200528/163b78c3/attachment.bin>


More information about the cfe-commits mailing list