[clang] [clang][modules] Print library module manifest path. (PR #76451)

Ben Boeckel via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 29 05:59:35 PST 2023


================
@@ -2164,6 +2164,12 @@ bool Driver::HandleImmediateArgs(const Compilation &C) {
     return false;
   }
 
+  if (C.getArgs().hasArg(options::OPT_print_library_module_manifest_path)) {
+    llvm::outs() << "module: ="
----------------
mathstuf wrote:

I'd like there to be some distinction between "modules not present because Clang was built without them" and "modules not present but expected to be there" (maybe distro packagers split things and the modules package is missing?).

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


More information about the cfe-commits mailing list