Author: Qiongsi Wu
Date: 2025-02-19T11:21:04-08:00
New Revision: 85e23fe9c71f97280c804a139c3d014092b30c7f

URL: 
https://github.com/llvm/llvm-project/commit/85e23fe9c71f97280c804a139c3d014092b30c7f
DIFF: 
https://github.com/llvm/llvm-project/commit/85e23fe9c71f97280c804a139c3d014092b30c7f.diff

LOG: [Modules] Add `clang/Lex/HLSLRootSignatureTokenKinds.def` to clang's 
`modulemap` (#127839)

b41b86a907f653f79bab10d4c80b3a41d146c71b added a new textual header
`clang/Lex/HLSLRootSignatureTokenKinds.def` but did not add it to
`clang`'s module map. This causes build failure when building llvm with
`-DLLVM_ENABLE_MODULES=ON`. This PR adds the new textual header to the
module map and fixes the build break.

Fixing rdar://145148093.

Added: 
    

Modified: 
    clang/include/module.modulemap

Removed: 
    


################################################################################
diff  --git a/clang/include/module.modulemap b/clang/include/module.modulemap
index fb8e445cb4b72..8489619832a47 100644
--- a/clang/include/module.modulemap
+++ b/clang/include/module.modulemap
@@ -135,7 +135,16 @@ module Clang_Frontend {
 
 module Clang_FrontendTool { requires cplusplus umbrella "clang/FrontendTool" 
module * { export * } }
 module Clang_Index { requires cplusplus umbrella "clang/Index" module * { 
export * } }
-module Clang_Lex { requires cplusplus umbrella "clang/Lex" module * { export * 
} }
+
+module Clang_Lex {
+  requires cplusplus
+  umbrella "clang/Lex"
+
+  textual header "clang/Lex/HLSLRootSignatureTokenKinds.def"
+
+  module * { export * }
+}
+
 module Clang_Parse { requires cplusplus umbrella "clang/Parse" module * { 
export * } }
 module Clang_Rewrite { requires cplusplus umbrella "clang/Rewrite/Core" module 
* { export * } }
 module Clang_RewriteFrontend { requires cplusplus umbrella 
"clang/Rewrite/Frontend" module * { export * } }


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to