[clang] [Clang] disallow attributes after namespace identifier (PR #121614)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 5 01:36:43 PST 2025
================
@@ -81,7 +81,7 @@ Parser::DeclGroupPtrTy Parser::ParseNamespace(DeclaratorContext Context,
ParsedAttributes attrs(AttrFactory);
- auto ReadAttributes = [&] {
+ auto ReadAttributes = [&](bool TrailingAttrs) {
----------------
cor3ntin wrote:
Pre-existing, but why is this not using MaybeParseAttributes ? @AaronBallman
https://github.com/llvm/llvm-project/pull/121614
More information about the cfe-commits
mailing list