We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30a9cac commit 62fec3dCopy full SHA for 62fec3d
clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
@@ -430,7 +430,9 @@ class DependencyScanningAction : public tooling::ToolAction {
430
431
std::unique_ptr<FrontendAction> Action;
432
433
- if (ModuleName)
+ if (Format == ScanningOutputFormat::P1689)
434
+ Action = std::make_unique<PreprocessOnlyAction>();
435
+ else if (ModuleName)
436
Action = std::make_unique<GetDependenciesByModuleNameAction>(*ModuleName);
437
else
438
Action = std::make_unique<ReadPCHAndPreprocessAction>();
0 commit comments