================
@@ -16,7 +16,7 @@ module header1 { header "header.h" }
 [{
   "file": "DIR/modules_cc1.cpp",
   "directory": "DIR",
-  "command": "clang -cc1 DIR/modules_cc1.cpp -fimplicit-module-maps -o 
modules_cc1.o"
+  "command": "clang -cc1 DIR/modules_cc1.cpp -fmodules 
-fmodules-cache-path=DIR/cache -fimplicit-module-maps -o modules_cc1.o"
----------------
jansvoboda11 wrote:

This was added to actually run a modular build. Without it, the new 
implementation would not report the `[[PREFIX]]/module.modulemap` dependency 
below. The old implementation would report it because we'd automatically parse 
the module map and invoke the collector callback, even when not building with 
`-fmodules`.

https://github.com/llvm/llvm-project/pull/182063
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to