[clang] [clang][clang-scan-deps] Add named modules to format 'experimental-full' (PR #145221)

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 23 08:41:41 PDT 2025


================
@@ -714,7 +714,9 @@ void ModuleDepCollectorPP::EndOfMainFile() {
 
   MDC.Consumer.handleDependencyOutputOpts(*MDC.Opts);
 
-  if (MDC.Service.getFormat() == ScanningOutputFormat::P1689)
+  if (const auto Format = MDC.Service.getFormat();
+      Format == ScanningOutputFormat::P1689 ||
+      Format == ScanningOutputFormat::Full)
----------------
jansvoboda11 wrote:

I wonder whether we need this check. Shouldn't consumers themselves decide whether they want to handle these?

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


More information about the cfe-commits mailing list