llvm-project/clang-tools-extra/clang-tidy/utils
Yitzhak Mandelbaum 489449c28a [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
2019-11-11 12:44:15 -05:00
..
ASTUtils.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ASTUtils.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CMakeLists.txt [libTooling] Move Transformer files to their own directory/library. 2019-10-10 02:34:47 +00:00
DeclRefExprUtils.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DeclRefExprUtils.h Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
ExceptionAnalyzer.cpp [clang-tidy] openmp-exception-escape - a new check 2019-03-22 19:46:25 +00:00
ExceptionAnalyzer.h [clang-tidy] openmp-exception-escape - a new check 2019-03-22 19:46:25 +00:00
ExprSequence.cpp [clang-tidy] Fix bug in bugprone-use-after-move check 2019-09-09 12:59:14 +00:00
ExprSequence.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FixItHintUtils.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FixItHintUtils.h Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
HeaderFileExtensionsUtils.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
HeaderFileExtensionsUtils.h Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
HeaderGuard.cpp Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
HeaderGuard.h [clang-tidy] Move all checks to the new registerPPCallbacks API 2019-03-22 18:58:12 +00:00
IncludeInserter.cpp [clang-tools-extra] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:52:23 +00:00
IncludeInserter.h Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
IncludeSorter.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
IncludeSorter.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
LexerUtils.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
LexerUtils.h [clang-tidy] Fix a potential infinite loop in readability-isolate-declaration check. 2019-09-18 09:21:35 +00:00
Matchers.h [clang-tidy] New checker performance-trivially-destructible-check 2019-11-01 16:16:49 +01:00
NamespaceAliaser.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
NamespaceAliaser.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
OptionsUtils.cpp Fix file headers. NFC 2019-03-01 09:52:53 +00:00
OptionsUtils.h Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
TransformerClangTidyCheck.cpp [libTooling] Further simplify `Stencil` type and introduce `MatchComputation`. 2019-11-11 12:44:15 -05:00
TransformerClangTidyCheck.h [clang-tidy] Update TransformerClangTidyCheck to use new Transformer bindings. 2019-11-06 10:13:33 -05:00
TypeTraits.cpp [clang-tidy] New checker performance-trivially-destructible-check 2019-11-01 16:16:49 +01:00
TypeTraits.h [clang-tidy] New checker performance-trivially-destructible-check 2019-11-01 16:16:49 +01:00
UsingInserter.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
UsingInserter.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00