================ @@ -100,7 +103,7 @@ Parser::DeclGroupPtrTy Parser::ParseNamespace(DeclaratorContext Context, } while (MoreToParse); }; - ReadAttributes(); + ReadAttributes(/*TrailingAttrs*/ false); ---------------- a-tarasyuk wrote:
@cor3ntin is it acceptable to use `DiagnoseAndSkipCXX11Attributes` to reduce errors list? https://github.com/llvm/llvm-project/pull/121614 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits