[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())
+ JOS.attribute("module-name", (I.ModuleName));
----------------
jansvoboda11 wrote:
It seems like the rest of the code tries to distinguish Clang and standard C++ modules. Maybe this name makes the distinction more obvious?
```suggestion
JOS.attribute("named-module", I.ModuleName);
```
https://github.com/llvm/llvm-project/pull/145221
More information about the cfe-commits
mailing list