[PATCH] D120888: [clang] Stop dragging a EndLoc around when parsing attributes

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 4 11:00:19 PST 2022


aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.

LGTM aside from two formatting nits, thank you for the cleanup!



================
Comment at: clang/lib/Parse/ParsePragma.cpp:1373
 
-  PragmaAttributeInfo(ParsedAttributes &Attributes) : Attributes(Attributes) {}
+  PragmaAttributeInfo(ParsedAttributesWithRange &Attributes) : Attributes(Attributes) {}
 };
----------------
Probably worth reformatting this before you land.


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

https://reviews.llvm.org/D120888



More information about the cfe-commits mailing list