[PATCH] D48845: [Sema] Add fixit for unused lambda captures

Andrew Comminos via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 13 13:25:32 PDT 2018


acomminos updated this revision to Diff 155472.
acomminos marked an inline comment as done.
acomminos added a comment.

Use source ranges instead of a pair of source locations for explicit lambda captures.


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.155472.patch
Type: text/x-patch
Size: 10061 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180713/10a41809/attachment.bin>


More information about the cfe-commits mailing list