================
@@ -740,7 +749,7 @@ Parser::DeclGroupPtrTy Parser::ParseUsingDeclaration(
       return nullptr;
     }
 
-    ProhibitAttributes(PrefixAttrs);
+    ProhibitAttributes(PrefixAttrs, Tok.getLocation());
----------------
shafik wrote:

It looks like we don't use this argument in most other places in 
`ParseDeclCXX.cpp`, should we or will this not work for the other cases?

https://github.com/llvm/llvm-project/pull/223910
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to