[clang] [Clang] disallow attributes after namespace identifier (PR #121614)

Oleksandr T. via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 8 14:44:14 PST 2025


================
@@ -81,7 +81,7 @@ Parser::DeclGroupPtrTy Parser::ParseNamespace(DeclaratorContext Context,
 
   ParsedAttributes attrs(AttrFactory);
 
-  auto ReadAttributes = [&] {
+  auto ReadAttributes = [&](bool TrailingAttrs) {
----------------
a-tarasyuk wrote:

@erichkeane @AaronBallman could you please review these changes? thanks

https://github.com/llvm/llvm-project/pull/121614


More information about the cfe-commits mailing list