llvm-project/clang/lib/Tooling
Jan Svoboda de07b1e84d [clang][deps] Support object files
When a project uses PCH with explicit modules, the build will look like this:

1. scan PCH dependencies
2. explicitly build PCH
3. scan TU dependencies
4. explicitly build TU

Step 2 produces an object file for the PCH, which the dependency scanner needs to read in step 3. This patch adds support for this.

The `clang-scan-deps` invocation in the attached test would fail without this change.

Depends on D103516.

Reviewed By: Bigcheese

Differential Revision: https://reviews.llvm.org/D103519
2021-06-04 14:58:42 +02:00
..
ASTDiff
Core [libtooling][clang-tidy] Fix diagnostics not highlighting fed SourceRanges 2021-04-10 16:43:44 +02:00
DependencyScanning [clang][deps] Support object files 2021-06-04 14:58:42 +02:00
DumpTool Support: Stop using F_{None,Text,Append} compatibility synonyms, NFC 2021-04-30 11:00:03 -07:00
Inclusions
Refactoring [clang-rename] Handle designated initializers. 2021-04-12 13:15:14 -07:00
Syntax [clang][Syntax] Handle invalid source range in expandedTokens. 2021-04-07 11:19:01 +02:00
Transformer Widen `name` stencil to support `TypeLoc` nodes. 2021-05-13 23:23:12 +01:00
AllTUsExecution.cpp
ArgumentsAdjusters.cpp [Tooling] Handle compilation databases containing commands with double dashes 2021-03-24 16:01:47 -04:00
CMakeLists.txt Enable AST introspection on non-X86 2021-04-23 21:56:36 +01:00
CommonOptionsParser.cpp
CompilationDatabase.cpp
EmptyNodeIntrospection.inc.in [AST] Add DeclarationNameInfo to node introspection 2021-04-25 12:12:03 +01:00
Execution.cpp
ExpandResponseFilesCompilationDatabase.cpp [Support] Don't include VirtualFileSystem.h in CommandLine.h 2021-04-21 10:19:01 -04:00
FileMatchTrie.cpp
FixIt.cpp
GuessTargetAndModeCompilationDatabase.cpp
InterpolatingCompilationDatabase.cpp [Tooling] Handle compilation databases containing commands with double dashes 2021-03-24 16:01:47 -04:00
JSONCompilationDatabase.cpp [NFC] Reordering parameters in getFile and getFileOrSTDIN 2021-03-25 09:47:49 -04:00
NodeIntrospection.cpp [AST] Sort introspection results without instantiating other data 2021-04-23 16:21:01 +01:00
Refactoring.cpp
RefactoringCallbacks.cpp
StandaloneExecution.cpp
Tooling.cpp [clang][tooling] Create SourceManager for DiagnosticsEngine before command-line parsing 2021-04-06 10:40:47 +02:00