[clang] [Clang][AArch64] Change SME attributes for shared/new/preserved state. (PR #76971)

Sander de Smalen via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 12 03:47:36 PST 2024


================
@@ -1,60 +1,60 @@
 // RUN: %clang_cc1 -fsyntax-only -triple aarch64-none-linux-gnu -target-feature +sme -verify=expected,notc2x -Wno-strict-prototypes %s
 // RUN: %clang_cc1 -fsyntax-only -triple aarch64-none-linux-gnu -target-feature +sme -verify=expected,c2x %s
 
-enum __arm_streaming E { // expected-error {{'__arm_streaming' only applies to non-K&R-style functions}}
-  One __arm_streaming, // expected-error {{'__arm_streaming' only applies to non-K&R-style functions}}
+enum __arm_inout("za") E { // expected-error {{'__arm_inout' only applies to non-K&R-style functions}}
----------------
sdesmalen-arm wrote:

I've added explicit tests for unbalanced parentheses, but also changed this test to test both attributes (with and without arguments), using a macro that is sed-replaced with a RUN line.

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


More information about the cfe-commits mailing list