[PATCH] D48845: [Sema] Add fixit for unused lambda captures
Andrew Comminos via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 12 11:56:52 PDT 2018
acomminos updated this revision to Diff 155246.
acomminos added a comment.
Thanks for the feedback! This diff switches to using a source range for captures provided by the parser, which is more accurate, future-proof, and correctly handles macros.
Repository:
rC Clang
https://reviews.llvm.org/D48845
Files:
include/clang/Sema/DeclSpec.h
include/clang/Sema/ScopeInfo.h
include/clang/Sema/Sema.h
lib/Parse/ParseExprCXX.cpp
lib/Sema/SemaLambda.cpp
test/FixIt/fixit-unused-lambda-capture.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48845.155246.patch
Type: text/x-patch
Size: 9375 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180712/a616d604/attachment.bin>
More information about the cfe-commits
mailing list