[clang] [clang][DependencyScanning] Remove dependency on clangDriver from clangDependencyScanning (PR #169964)
Naveen Seth Hanig via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 5 15:21:21 PST 2025
================
@@ -17,17 +17,53 @@ module transitive { header "transitive.h" }
// This is here to verify that the "root" directory doesn't clash with name of
// the "root" module.
+//--- main.cpp
+// empty
+
//--- cdb.json.template
[{
"file": "",
"directory": "DIR",
- "command": "clang -fmodules -fmodules-cache-path=DIR/cache -I DIR -x c"
+ "command": "clang -fmodules -fmodules-cache-path=DIR/cache -I DIR -x c main.cpp"
----------------
naveen-seth wrote:
My mistake; I initially thought command-lines with input files were also supported.
I've removed the tests.
https://github.com/llvm/llvm-project/pull/169964
More information about the cfe-commits
mailing list