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

via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 11 08:29:51 PST 2024


================
@@ -255,6 +255,22 @@ class AttributeCommonInfo {
     return SpellingIndex != SpellingNotCalculated;
   }
 };
+
+enum class KeywordAttributeParseArgumentsKind { None, Optional, Required };
----------------
rsandifo-arm wrote:

I think this must fundamentally be a boolean required/none choice.  The point is that a `(` that follows the keyword must either always be part of the attribute or always part of the containing declaration.  It isn't something that can/should be inferred from context.

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


More information about the cfe-commits mailing list