[clang] [analyzer] Pin the target triple in Analysis/string-search-modeling.c (PR #213279)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 31 07:02:59 PDT 2026


================
@@ -1,6 +1,6 @@
 // The u"" and U"" string literals below need C11 or later. Pin the standard
 // because targets such as PS4 default to gnu99.
-// RUN: %clang_analyze_cc1 -std=c17 -verify %s \
+// RUN: %clang_analyze_cc1 -triple 86_64-unknown-linux-gnu -std=c17 -verify %s \
----------------
steakhal wrote:

```suggestion
// RUN: %clang_analyze_cc1 -triple x86_64-unknown-linux-gnu -std=c17 -verify %s \
```

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


More information about the cfe-commits mailing list