[clang] [Modules] Fix missing module dependency introduced by 7347870 (PR #126007)

via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 5 21:19:22 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Qiongsi Wu (qiongsiwu)

<details>
<summary>Changes</summary>

73478708839fad8b02b3cfc84959d64a15ba93ca introduced a textual header but did not update clang's module map. This PR adds the header to the module map. 

---
Full diff: https://github.com/llvm/llvm-project/pull/126007.diff


1 Files Affected:

- (modified) clang/include/module.modulemap (+2) 


``````````diff
diff --git a/clang/include/module.modulemap b/clang/include/module.modulemap
index e2bc941d3143a6..60e494d7fd76ac 100644
--- a/clang/include/module.modulemap
+++ b/clang/include/module.modulemap
@@ -112,6 +112,8 @@ module Clang_Diagnostics {
   module Parse { header "clang/Basic/DiagnosticParse.h" export * }
   module Serialization { header "clang/Serialization/SerializationDiagnostic.h" export * }
   module Refactoring { header "clang/Tooling/Refactoring/RefactoringDiagnostic.h" export * }
+
+  textual header "clang/Basic/AllDiagnosticKinds.inc"
 }
 
 module Clang_Driver {

``````````

</details>


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


More information about the cfe-commits mailing list