[clang] [Clang] Avoid crash with wide string CPU builtin argument (PR #245515)
Bhavya Gautam via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 29 20:44:50 PST 2026
================
@@ -0,0 +1,8 @@
+// RUN: %clang_cc1 -fsyntax-only -triple x86_64-unknown-linux-gnu \
----------------
gautam899 wrote:
The second file was because I was asked to cover the case when we compile with `-Wno-error=incompatible-pointer-types`, and having that in the test file `builtin-cpu-supports.c` would need extra `-verify` prefixes and ifdef guards, since the file runs on multiple triples. To avoid this, I kept this case separate. Happy to merge into one if you prefer.
https://github.com/llvm/llvm-project/pull/245515
More information about the cfe-commits
mailing list