llvm-project/clang/lib/Tooling
Sam McCall 9d3530bd4e [Tooling] JSONCompilationDatabasePlugin infers compile commands for missing files
Summary:
See the existing InterpolatingCompilationDatabase for details on how this works.
We've been using this in clangd for a while, the heuristics seem to work well.

Reviewers: bkramer

Subscribers: ilya-biryukov, ioeric, kadircet, cfe-commits

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

llvm-svn: 342228
2018-09-14 12:24:09 +00:00
..
ASTDiff Fix typos in clang 2018-04-06 15:14:32 +00:00
Core Fully qualify the renamed symbol if the shortened name is ambiguous. 2018-08-03 09:16:07 +00:00
Inclusions Reland "Move #include manipulation code to new lib/Tooling/Inclusions." 2018-06-04 09:04:12 +00:00
Refactoring Port getLocEnd -> getEndLoc 2018-08-09 21:09:38 +00:00
AllTUsExecution.cpp [Tooling] Wait for all threads to finish before resetting CWD. 2018-09-12 08:29:47 +00:00
ArgumentsAdjusters.cpp [Tooling] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-03-14 21:05:51 +00:00
CMakeLists.txt Reland "Move #include manipulation code to new lib/Tooling/Inclusions." 2018-06-04 09:04:12 +00:00
CommonOptionsParser.cpp [Tooling] A new framework for executing clang frontend actions. 2017-10-26 10:38:14 +00:00
CompilationDatabase.cpp [Tooling] Allow -flto flags and filter out -Wa, flags 2018-08-22 17:13:40 +00:00
Execution.cpp [Tooling] Use UniqueStringSaver. NFC 2018-07-23 11:25:25 +00:00
FileMatchTrie.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
FixIt.cpp [tooling] FixItHint Tooling refactoring 2016-05-11 14:31:39 +00:00
InterpolatingCompilationDatabase.cpp Fix build bots after a mistake in r341760 2018-09-09 13:12:53 +00:00
JSONCompilationDatabase.cpp [Tooling] JSONCompilationDatabasePlugin infers compile commands for missing files 2018-09-14 12:24:09 +00:00
Refactoring.cpp Apply clang-tidy's performance-unnecessary-value-param to parts of clang. 2017-03-21 21:35:04 +00:00
RefactoringCallbacks.cpp [tooling] RefactoringCallbacks code cleanup 2017-05-12 00:16:56 +00:00
StandaloneExecution.cpp [Tooling] Make standalone executor support user-provided vfs. 2018-07-12 18:32:11 +00:00
Tooling.cpp [Tooling] Restore working dir in ClangTool. 2018-09-11 07:29:09 +00:00