]> granicus.if.org Git - clang/commit
[libTooling] Introduce the MatchConsumer abstraction
authorYitzhak Mandelbaum <yitzhakm@google.com>
Wed, 25 Sep 2019 13:34:04 +0000 (13:34 +0000)
committerYitzhak Mandelbaum <yitzhakm@google.com>
Wed, 25 Sep 2019 13:34:04 +0000 (13:34 +0000)
commit63dd6c10d6468ffef49cee8311f384c8254a181a
treede4e061b9c3226e37ec3766d157cb0616d969334
parent73bc9c1440b57a5bfc1f3879ffd7002fdf5877ee
[libTooling] Introduce the MatchConsumer abstraction

Summary:
This revision introduces a separate (small) library for the `MatchConsumer`
abstraction: computations over AST match results.  This abstraction is central
to the Transformer framework, and there deserves being defined explicitly.

Reviewers: gribozavr

Subscribers: cfe-commits

Tags: #clang

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372870 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Tooling/Refactoring/MatchConsumer.h [new file with mode: 0644]
include/clang/Tooling/Refactoring/RangeSelector.h
include/clang/Tooling/Refactoring/Transformer.h
lib/Tooling/Refactoring/RangeSelector.cpp