[PATCH] D121245: [clang][parser] Allow GNU attributes before namespace identifier

Aleksandr Platonov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 12 12:00:34 PST 2022


ArcsinX updated this revision to Diff 414868.
ArcsinX added a comment.

- get attributes location from ParsedAttributesWithRange object
- parse subsequent attributes of different kinds in a loop


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121245/new/

https://reviews.llvm.org/D121245

Files:
  clang/lib/Parse/ParseDeclCXX.cpp
  clang/test/Parser/namespace-attributes.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121245.414868.patch
Type: text/x-patch
Size: 2794 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220312/383a47ab/attachment.bin>


More information about the cfe-commits mailing list