HomePhabricator

[ASTMatchers] Add traversal-kind support to `DynTypedMatcher`

Authored by ymandel on May 27 2020, 3:04 PM.

Description

[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