[clang] [clang][DependencyScanning] Remove dependency on clangDriver from clangDependencyScanning (PR #169964)

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 5 09:11:13 PST 2025


================
@@ -815,7 +704,7 @@ bool CompilerInstanceWithContext::computeDependencies(
     // file. In this case, we call BeginSourceFile to initialize.
     std::unique_ptr<FrontendAction> Action =
         std::make_unique<PreprocessOnlyAction>();
-    auto InputFile = CI.getFrontendOpts().Inputs.begin();
+    auto *InputFile = CI.getFrontendOpts().Inputs.begin();
----------------
jansvoboda11 wrote:

Might be better to do in a separate commit.

https://github.com/llvm/llvm-project/pull/169964


More information about the cfe-commits mailing list