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

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 3 03:21:34 PST 2022


tbaeder created this revision.
tbaeder added a reviewer: aaron.ballman.
Herald added a project: All.
tbaeder requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

I noticed that this is basically always unused. And if it is needed, the end of the attribute range can be used.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D120888

Files:
  clang/include/clang/Parse/Parser.h
  clang/include/clang/Sema/DeclSpec.h
  clang/lib/Parse/ParseDecl.cpp
  clang/lib/Parse/ParseDeclCXX.cpp
  clang/lib/Parse/ParseExprCXX.cpp
  clang/lib/Parse/ParseStmt.cpp
  clang/lib/Parse/ParseTentative.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120888.412659.patch
Type: text/x-patch
Size: 15003 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220303/e3500028/attachment.bin>


More information about the cfe-commits mailing list