[clang] [llvm] [Clang][SME] Detect always_inline used with mismatched streaming attributes (PR #77936)
Sander de Smalen via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 13 01:40:14 PST 2024
================
@@ -0,0 +1,13 @@
+// RUN: %clang --target=aarch64-none-linux-gnu -march=armv9-a+sme -O3 -S -Xclang -verify %s
+
+// Conflicting attributes when using always_inline
+__attribute__((always_inline))
----------------
sdesmalen-arm wrote:
nit: To simplify the test, could you do something like `#define __ai __attribute__((always_inline))` and then add that in front of the return type?
https://github.com/llvm/llvm-project/pull/77936
More information about the cfe-commits
mailing list