diff options
author | Yitzhak Mandelbaum <yitzhakm@google.com> | 2019-11-04 08:30:18 -0500 |
---|---|---|
committer | Yitzhak Mandelbaum <yitzhakm@google.com> | 2019-11-11 12:44:15 -0500 |
commit | 489449c28aaa45086d507fbad96826420adf409d (patch) | |
tree | aee53aafb71c762cbbb82c30688dd4ea7be00655 /lldb/packages/Python/lldbsuite | |
parent | 14df08f0580cea8f8bec5814e3b895b373001b56 (diff) | |
download | bcm5719-llvm-489449c28aaa45086d507fbad96826420adf409d.tar.gz bcm5719-llvm-489449c28aaa45086d507fbad96826420adf409d.zip |
[libTooling] Further simplify `Stencil` type and introduce `MatchComputation`.
Summary:
This revision introduces a new interface `MatchComputation` which generalizes
the `Stencil` interface and replaces the `std::function` interface of
`MatchConsumer`. With this revision, `Stencil` (as an abstraction) becomes just
one collection of implementations of
`MatchComputation<std::string>`. Correspondingly, we remove the `Stencil` class
entirely in favor of a simple type alias, deprecate `MatchConsumer` and change
all functions that accepted `MatchConsumer<std::string>` to use
`MatchComputation<std::string>` instead.
Reviewers: gribozavr
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69802
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
0 files changed, 0 insertions, 0 deletions