[clang] [AArch64][Clang] Add support for __arm_agnostic("sme_za_state") (PR #121788)
Sander de Smalen via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 7 03:50:37 PST 2025
================
@@ -7559,6 +7559,26 @@ The attributes ``__arm_in(S)``, ``__arm_out(S)``, ``__arm_inout(S)`` and
}];
}
+def ArmAgnosticDocs : Documentation {
+ let Category = DocCatArmSmeAttributes;
+ let Content = [{
+The ``__arm_agnostic`` keyword applies to prototyped function types and
----------------
sdesmalen-arm wrote:
It was written this way to distinguish between "prototyped function types" and (K&R style) "unprototyped function types", where the latter does not support the SME attributes.
https://github.com/llvm/llvm-project/pull/121788
More information about the cfe-commits
mailing list