[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


================
@@ -521,8 +529,14 @@ class FullDeps {
               } else {
                 JOS.object([&] {
                   JOS.attribute("clang-context-hash", StringRef(I.ContextHash));
+                  if (I.ModuleName.size())
----------------
jansvoboda11 wrote:

Let's not rely on implicit conversions.
```suggestion
                  if (!I.ModuleName.empty())
```

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


More information about the cfe-commits mailing list