================
@@ -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"
----------------
jansvoboda11 wrote:
I think the entire point of the by-module-name scan is that you don't need an
input file. Why is this necessary?
https://github.com/llvm/llvm-project/pull/169964
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits