[clang] [Clang] Fix failing CI with different test case attribute & test macro (PR #76863)
Yuxuan Chen via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 3 12:58:17 PST 2024
https://github.com/yuxuanchen1997 updated https://github.com/llvm/llvm-project/pull/76863
>From 8c33419f2217a7eb98a591813c6ce6c5185ff6c7 Mon Sep 17 00:00:00 2001
From: Yuxuan Chen <ych at meta.com>
Date: Wed, 3 Jan 2024 12:18:21 -0800
Subject: [PATCH] Use a different calling convention attribute
---
clang/test/SemaCXX/template-instantiation.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/clang/test/SemaCXX/template-instantiation.cpp b/clang/test/SemaCXX/template-instantiation.cpp
index e714e070a206f5..8543af0d5428d0 100644
--- a/clang/test/SemaCXX/template-instantiation.cpp
+++ b/clang/test/SemaCXX/template-instantiation.cpp
@@ -1,11 +1,11 @@
-// RUN: %clang_cc1 -verify -fsyntax-only -Wno-ignored-attributes %s
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -verify -fsyntax-only %s
// expected-no-diagnostics
namespace GH76521 {
template <typename T>
void foo() {
- auto l = []() __attribute__((pcs("aapcs-vfp"))) {};
+ auto l = []() __attribute__((preserve_most)) {};
}
void bar() {
More information about the cfe-commits
mailing list