[clang] [clang] Fix incomplete umbrella warnings when building clang modules (NFC) (PR #96939)
Med Ismail Bennani via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 27 10:40:54 PDT 2024
https://github.com/medismailben created https://github.com/llvm/llvm-project/pull/96939
This patch silences the incomplete-umbrella warnings when building clang modules, by adding the missing textual headers to the clang module map.
>From 8de45df731f37ced94f7dfad3ff9ad0c86266163 Mon Sep 17 00:00:00 2001
From: Med Ismail Bennani <ismail at bennani.ma>
Date: Thu, 27 Jun 2024 10:39:09 -0700
Subject: [PATCH] [clang] Fix incomplete umbrella warnings when building clang
modules (NFC)
This patch silences the incomplete-umbrella warnings when building clang
modules, by adding the missing textual headers to the clang module map.
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
---
clang/include/module.modulemap | 2 ++
1 file changed, 2 insertions(+)
diff --git a/clang/include/module.modulemap b/clang/include/module.modulemap
index acd960c9c932a..a8ee223126690 100644
--- a/clang/include/module.modulemap
+++ b/clang/include/module.modulemap
@@ -22,6 +22,7 @@ module Clang_AST {
requires cplusplus
umbrella "clang/AST"
+ textual header "clang/Basic/OpenACCClauses.def"
textual header "clang/AST/BuiltinTypes.def"
textual header "clang/AST/CXXRecordDeclDefinitionBits.def"
textual header "clang/AST/OperationKinds.def"
@@ -37,6 +38,7 @@ module Clang_Basic {
umbrella "clang/Basic"
textual header "clang/Basic/AArch64SVEACLETypes.def"
+ textual header "clang/Basic/AMDGPUTypes.def"
textual header "clang/Basic/BuiltinsAArch64.def"
textual header "clang/Basic/BuiltinsAMDGPU.def"
textual header "clang/Basic/BuiltinsAArch64NeonSVEBridge.def"
More information about the cfe-commits
mailing list