================ @@ -1494,6 +1494,15 @@ void Parser::ParseMicrosoftInheritanceClassAttributes(ParsedAttributes &attrs) { } } +void Parser::ParseNullabilityClassAttributes(ParsedAttributes &attrs) { + while (Tok.is(tok::kw__Nullable)) { ---------------- AaronBallman wrote:
With other attributes, accepting multiples in sequence is required per the grammar: https://eel.is/c++draft/dcl.attr#nt:attribute-specifier-seq but the same is not true for keywords. However, I think it's fine to accept as-is, especially when I see: https://godbolt.org/z/YfqWvMf94 https://github.com/llvm/llvm-project/pull/82705 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits