[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 06:54:02 PDT 2026
https://github.com/steakhal created https://github.com/llvm/llvm-project/pull/213279
Fixes up #212124
https://github.com/llvm/llvm-project/pull/212124\#issuecomment-5143593708
>From 99f2931a1a4edc900b65bc24632b0a89b6463ba1 Mon Sep 17 00:00:00 2001
From: Balazs Benics <benicsbalazs at gmail.com>
Date: Fri, 31 Jul 2026 14:52:37 +0100
Subject: [PATCH] [analyzer] Pin the target triple in
Analysis/string-search-modeling.c
Fixes up #212124
https://github.com/llvm/llvm-project/pull/212124\#issuecomment-5143593708
---
clang/test/Analysis/string-search-modeling.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clang/test/Analysis/string-search-modeling.c b/clang/test/Analysis/string-search-modeling.c
index f18ffde3d198d..10332fcead85d 100644
--- a/clang/test/Analysis/string-search-modeling.c
+++ b/clang/test/Analysis/string-search-modeling.c
@@ -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 \
// RUN: -analyzer-checker=core,unix \
// RUN: -analyzer-checker=debug.ExprInspection \
// RUN: -analyzer-config eagerly-assume=false
More information about the cfe-commits
mailing list