================
@@ -736,10 +726,38 @@ bool Parser::ParseTopLevelDecl(DeclGroupPtrTy &Result,
   return false;
 }
 
-Parser::DeclGroupPtrTy
-Parser::ParseExternalDeclaration(ParsedAttributes &Attrs,
-                                 ParsedAttributes &DeclSpecAttrs,
-                                 ParsingDeclSpec *DS) {
+Parser::DeclGroupPtrTy Parser::ParseExternalDeclarationWithAttrs() {
+  ParsedAttributes DeclAttrs(AttrFactory);
+  ParsedAttributes DeclSpecAttrs(AttrFactory);
----------------
daniel-petrovic wrote:

Maybe it might be worth mentioning [class.access.general]/6 somewhere, as it 
explicitly states this: https://eel.is/c++draft/class.access.general#6



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

Reply via email to