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

Reply via email to