================ @@ -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)); + JOS.attributeArray("named-module-deps", [&] { + for (const auto &Dep : I.NamedModuleDeps) + JOS.value(Dep); + }); ---------------- jansvoboda11 wrote:
Can we emit this only when `I.NamedModuleDeps` is not empty? This way, we don't need to update all the tests. https://github.com/llvm/llvm-project/pull/145221 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits