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

Qiongsi Wu via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 5 21:18:28 PST 2025


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

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

>From 103380989b2c01da215c8bc12a5b121678f9c916 Mon Sep 17 00:00:00 2001
From: Qiongsi Wu <qiongsi_wu at apple.com>
Date: Wed, 5 Feb 2025 21:15:34 -0800
Subject: [PATCH] Fix missing module dependency introduced by
 73478708839fad8b02b3cfc84959d64a15ba93ca

---
 clang/include/module.modulemap | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/clang/include/module.modulemap b/clang/include/module.modulemap
index e2bc941d3143a6a..60e494d7fd76ac7 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 {



More information about the cfe-commits mailing list