================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to