Skip to content

Commit 85e23fe

Browse files
authored
[Modules] Add clang/Lex/HLSLRootSignatureTokenKinds.def to clang's modulemap (#127839)
b41b86a 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.
1 parent 36eaf0d commit 85e23fe

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

clang/include/module.modulemap

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,16 @@ module Clang_Frontend {
135135

136136
module Clang_FrontendTool { requires cplusplus umbrella "clang/FrontendTool" module * { export * } }
137137
module Clang_Index { requires cplusplus umbrella "clang/Index" module * { export * } }
138-
module Clang_Lex { requires cplusplus umbrella "clang/Lex" module * { export * } }
138+
139+
module Clang_Lex {
140+
requires cplusplus
141+
umbrella "clang/Lex"
142+
143+
textual header "clang/Lex/HLSLRootSignatureTokenKinds.def"
144+
145+
module * { export * }
146+
}
147+
139148
module Clang_Parse { requires cplusplus umbrella "clang/Parse" module * { export * } }
140149
module Clang_Rewrite { requires cplusplus umbrella "clang/Rewrite/Core" module * { export * } }
141150
module Clang_RewriteFrontend { requires cplusplus umbrella "clang/Rewrite/Frontend" module * { export * } }

0 commit comments

Comments
 (0)