llvm-project/clang/lib/Tooling
Yitzhak Mandelbaum fab7205ac4 [LibTooling] Add Explanation parameter to `makeRule`.
Summary:
Conceptually, a single-case RewriteRule has a matcher, edit(s) and an (optional)
explanation. `makeRule` previously only took the matcher and edit(s). This
change adds (optional) support for the explanation.

Reviewers: ilya-biryukov

Subscribers: cfe-commits

Tags: #clang

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

llvm-svn: 361643
2019-05-24 15:11:45 +00:00
..
ASTDiff [AST] Update the comments of the various Expr::Ignore* + Related cleanups 2019-02-03 19:50:56 +00:00
Core [clang-tidy] Add fix descriptions to clang-tidy checks. 2019-04-17 12:53:59 +00:00
Inclusions [Tooling] Handle #pragma once header guard in include insertion. 2019-01-29 14:40:01 +00:00
Refactoring [LibTooling] Add Explanation parameter to `makeRule`. 2019-05-24 15:11:45 +00:00
Syntax Reland r361148 with a fix to the buildbot failure. 2019-05-22 14:44:45 +00:00
AllTUsExecution.cpp [Tooling] Avoid working-dir races in AllTUsToolExecutor 2019-03-22 11:01:13 +00:00
ArgumentsAdjusters.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CMakeLists.txt Reland r361148 with a fix to the buildbot failure. 2019-05-22 14:44:45 +00:00
CommonOptionsParser.cpp [CommandLineParser] Add DefaultOption flag 2019-04-15 17:18:10 +00:00
CompilationDatabase.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Execution.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FileMatchTrie.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FixIt.cpp [LibTooling] Add "SourceCode" library for functions relating to source-code manipulation. 2019-04-05 14:05:03 +00:00
InterpolatingCompilationDatabase.cpp [Tooling] Add -x flags when inferring compile commands for files with no/invalid extension. 2019-05-07 14:34:06 +00:00
JSONCompilationDatabase.cpp [Tooling] Don't mmap the JSONCompilationDatabase, it's not correct for long-lived processes. 2019-05-07 09:05:15 +00:00
Refactoring.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RefactoringCallbacks.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
StandaloneExecution.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Tooling.cpp Basic: Return a reference from FileManager::getVirtualFileSystem, NFC 2019-03-26 22:32:06 +00:00