[clang] [clang][Driver] Include stdc-predef.h by default on musl (PR #202919)

Jonathan Thackray via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 28 16:02:54 PDT 2026


================
@@ -0,0 +1,77 @@
+// Test that clang preincludes stdc-predef.h for musl Linux targets and
+// glibc Linux sysroots that provide the header.
+
+// Musl-based systems need this additional include.
+// RUN: %clang %s -### -c --target=x86_64-unknown-linux-musl \
----------------
jthackray wrote:

Sure, increased line wrapping width, so only 2 `RUN` lines.

https://github.com/llvm/llvm-project/pull/202919


More information about the cfe-commits mailing list