[clang] [clang] fix #161765 test triple dependency (PR #161769)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 2 20:30:13 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Matheus Izvekov (mizvekov)
<details>
<summary>Changes</summary>
Fixes the new test introduced in #<!-- -->161765, so that it always uses a triple which supports floating point exceptions.
Otherwise, some post-commit bots fail.
---
Full diff: https://github.com/llvm/llvm-project/pull/161769.diff
1 Files Affected:
- (modified) clang/test/SemaTemplate/GH161657.cpp (+1-1)
``````````diff
diff --git a/clang/test/SemaTemplate/GH161657.cpp b/clang/test/SemaTemplate/GH161657.cpp
index 6ec793115db12..5ad4dde855898 100644
--- a/clang/test/SemaTemplate/GH161657.cpp
+++ b/clang/test/SemaTemplate/GH161657.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++20 -ffp-exception-behavior=strict -verify %s
+// RUN: %clang_cc1 -triple=x86_64 -fsyntax-only -std=c++20 -ffp-exception-behavior=strict -verify %s
// expected-no-diagnostics
template <class T> struct S {
``````````
</details>
https://github.com/llvm/llvm-project/pull/161769
More information about the cfe-commits
mailing list