================
@@ -488,6 +488,13 @@ unsigned Parser::ParseAttributeArgsCommon(
   bool AttributeHasVariadicIdentifierArg =
       attributeHasVariadicIdentifierArg(*AttrName, Form.getSyntax(), 
ScopeName);
 
+  if (Tok.is(tok::hash) || Tok.is(tok::hashhash)) {
----------------
cor3ntin wrote:

We are supposed to reject `%:`, yes
https://eel.is/c++draft/lex.operators#nt:operator-or-punctuator

https://github.com/llvm/llvm-project/pull/147308
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to