https://github.com/cyndyishida created https://github.com/llvm/llvm-project/pull/156934
Since resource headers are installed, commonly as system dependencies, they should have `[system]` on them. Fix up the ones missing. >From f6110d20055de1cbaead8643f693fe7ab5b86aa2 Mon Sep 17 00:00:00 2001 From: Cyndy Ishida <[email protected]> Date: Thu, 4 Sep 2025 10:15:53 -0700 Subject: [PATCH] [clang] Add [system] label to modules from resource headers --- clang/lib/Headers/module.modulemap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/lib/Headers/module.modulemap b/clang/lib/Headers/module.modulemap index a72828625a629..bdf5119ba4607 100644 --- a/clang/lib/Headers/module.modulemap +++ b/clang/lib/Headers/module.modulemap @@ -329,13 +329,13 @@ module _Builtin_unwind [system] { } // End -fbuiltin-headers-in-system-modules affected modules -module opencl_c { +module opencl_c [system] { requires opencl header "opencl-c.h" header "opencl-c-base.h" } -module ptrauth { +module ptrauth [system] { header "ptrauth.h" export * } _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
