Skip to content

Commit 5a9e7fc

Browse files
authored
[clang] Add [system] label to modules from resource headers (#156934)
Since resource headers are installed, commonly as system dependencies, they should have `[system]` on them. Fix up the ones missing.
1 parent 884130b commit 5a9e7fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Headers/module.modulemap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,13 +329,13 @@ module _Builtin_unwind [system] {
329329
}
330330
// End -fbuiltin-headers-in-system-modules affected modules
331331

332-
module opencl_c {
332+
module opencl_c [system] {
333333
requires opencl
334334
header "opencl-c.h"
335335
header "opencl-c-base.h"
336336
}
337337

338-
module ptrauth {
338+
module ptrauth [system] {
339339
header "ptrauth.h"
340340
export *
341341
}

0 commit comments

Comments
 (0)