Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions clang/lib/Headers/module.modulemap
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,11 @@ module _Builtin_stdbool [system] {
export *
}

module _Builtin_stdckdint [system] {
header "stdckdint.h"
export *
}

module _Builtin_stdcountof [system] {
header "stdcountof.h"
export *
Expand Down
1 change: 1 addition & 0 deletions clang/lib/Lex/ModuleMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ static bool isBuiltinHeaderName(StringRef FileName) {
.Case("stdarg.h", true)
.Case("stdatomic.h", true)
.Case("stdbool.h", true)
.Case("stdckdint.h", true)
.Case("stdcountof.h", true)
.Case("stddef.h", true)
.Case("stdint.h", true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ module cstd [system] [no_undeclared_includes] {
export *
}

module stdckdint {
header "stdckdint.h"
export *
}

module stdcountof {
header "stdcountof.h"
export *
Expand Down
1 change: 1 addition & 0 deletions clang/test/Modules/builtin-headers.mm
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
@import _Builtin_stdarg;
@import _Builtin_stdatomic;
@import _Builtin_stdbool;
@import _Builtin_stdckdint;
@import _Builtin_stdcountof;
@import _Builtin_stddef;
@import _Builtin_stdint;
Expand Down
Loading