[clang] [clang] Add SPIRVTypes.def to the module map (PR #228240)
Anthony Latsis via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 1 13:56:13 PDT 2026
https://github.com/AnthonyLatsis created https://github.com/llvm/llvm-project/pull/228240
Follow-up to https://github.com/llvm/llvm-project/pull/207077, which added the file without listing it. Fixes "missing submodule 'Clang_Basic.SPIRVTypes'" in modular builds.
>From 6ee7c32fa7673032d2bdc7e7341446921e0ebff2 Mon Sep 17 00:00:00 2001
From: Anthony Latsis <alatsis at apple.com>
Date: Thu, 1 Oct 2026 20:30:23 +0100
Subject: [PATCH] [clang] Add SPIRVTypes.def to the module map
Follow-up to https://github.com/llvm/llvm-project/pull/207077, which
added the file without listing it. Fixes "missing submodule
'Clang_Basic.SPIRVTypes'" in modular builds.
---
clang/include/module.modulemap | 1 +
1 file changed, 1 insertion(+)
diff --git a/clang/include/module.modulemap b/clang/include/module.modulemap
index 20cd464fea056..a1c42d4e6b8ac 100644
--- a/clang/include/module.modulemap
+++ b/clang/include/module.modulemap
@@ -69,6 +69,7 @@ module Clang_Basic {
textual header "clang/Basic/OperatorKinds.def"
textual header "clang/Basic/PPCTypes.def"
textual header "clang/Basic/RISCVVTypes.def"
+ textual header "clang/Basic/SPIRVTypes.def"
textual header "clang/Basic/Sanitizers.def"
textual header "clang/Basic/TargetCXXABI.def"
textual header "clang/Basic/TargetOSMacros.def"
More information about the cfe-commits
mailing list