llvm-project/clang/lib/Tooling
Yitzhak Mandelbaum 727bdcb237 [LibTooling] Extend `RewriteRule` with support for adding includes.
Summary:
This revision allows users to specify the insertion of an included directive (at
the top of the file being rewritten) as part of a rewrite rule.  These
directives are bundled with `RewriteRule` cases, so that different cases can
potentially result in different include actions.

Reviewers: ilya-biryukov, gribozavr

Subscribers: cfe-commits

Tags: #clang

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

llvm-svn: 364917
2019-07-02 13:11:04 +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
DependencyScanning [clang-scan-deps] Introduce the DependencyScanning library with the 2019-06-26 21:11:51 +00:00
Inclusions [Tooling] Handle #pragma once header guard in include insertion. 2019-01-29 14:40:01 +00:00
Refactoring [LibTooling] Extend `RewriteRule` with support for adding includes. 2019-07-02 13:11:04 +00:00
Syntax Cleanup: llvm::bsearch -> llvm::partition_point after r364719 2019-06-30 11:19:56 +00:00
AllTUsExecution.cpp [Tooling] Avoid working-dir races in AllTUsToolExecutor 2019-03-22 11:01:13 +00:00
ArgumentsAdjusters.cpp [clang][ArgumentAdjusters] Do not add fsyntax-only if already exists 2019-07-02 10:45:53 +00:00
CMakeLists.txt [clang-scan-deps] Introduce the DependencyScanning library with the 2019-06-26 21:11:51 +00:00
CommonOptionsParser.cpp Fixed two issues in clang-tidy -help. 2019-07-01 18:55: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
GuessTargetAndModeCompilationDatabase.cpp [clang][Tooling] Infer target and mode from argv[0] when using JSONCompilationDatabase 2019-06-26 07:39:03 +00:00
InterpolatingCompilationDatabase.cpp [clang-tidy] Fail gracefully upon empty database fields 2019-06-20 20:25:59 +00:00
JSONCompilationDatabase.cpp [clang][Tooling] Infer target and mode from argv[0] when using JSONCompilationDatabase 2019-06-26 07:39:03 +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 [clang-scan-deps] Introduce the DependencyScanning library with the 2019-06-26 21:11:51 +00:00