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

Andrew Comminos via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 3 14:16:04 PDT 2018


acomminos updated this revision to Diff 153968.
acomminos retitled this revision from "[Sema] Add fixit for -Wno-unused-lambda-capture" to "[Sema] Add fixit for unused lambda captures".
acomminos edited the summary of this revision.
acomminos changed the visibility from "Custom Policy" to "Public (No Login Required)".
acomminos added a subscriber: alexshap.
acomminos added a comment.
Herald added a subscriber: cfe-commits.

Added tests, add logic for removing a comma forward for beginning edge case.


Repository:
  rC Clang

https://reviews.llvm.org/D48845

Files:
  include/clang/Sema/Sema.h
  lib/Sema/SemaLambda.cpp
  test/FixIt/fixit-unused-lambda-capture.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48845.153968.patch
Type: text/x-patch
Size: 4472 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180703/bc52574d/attachment.bin>


More information about the cfe-commits mailing list