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 <y...@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() { _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits