[clang] [clang] Add SPIRVTypes.def to the module map (PR #228240)

via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 1 13:57:00 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Anthony Latsis (AnthonyLatsis)

<details>
<summary>Changes</summary>

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.

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


1 Files Affected:

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


``````````diff
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"

``````````

</details>


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


More information about the cfe-commits mailing list