[all-commits] [llvm/llvm-project] 04a96a: [ASTMatchers] Add traversal-kind support to `DynTy...

Yitzhak Mandelbaum via All-commits all-commits at lists.llvm.org
Thu May 28 08:20:00 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 04a96aa3e430a66767732f44acea00c6e13c9f78
      https://github.com/llvm/llvm-project/commit/04a96aa3e430a66767732f44acea00c6e13c9f78
  Author: Yitzhak Mandelbaum <yitzhakm at google.com>
  Date:   2020-05-28 (Thu, 28 May 2020)

  Changed paths:
    M clang/include/clang/ASTMatchers/ASTMatchersInternal.h
    M clang/lib/ASTMatchers/ASTMatchersInternal.cpp
    M clang/unittests/ASTMatchers/ASTMatchersInternalTest.cpp
    M clang/unittests/ASTMatchers/CMakeLists.txt

  Log Message:
  -----------
  [ASTMatchers] Add traversal-kind support to `DynTypedMatcher`

Summary:
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.

Reviewers: gribozavr, steveire

Subscribers: hokein, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D80685




More information about the All-commits mailing list