[PATCH] D28467: [Sema] Add warning for unused lambda captures
Malcolm Parsons via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 12 07:50:15 PST 2017
malcolm.parsons updated this revision to Diff 84122.
malcolm.parsons marked 9 inline comments as done.
malcolm.parsons added a comment.
Improve warning message for use in unevaluated context.
Initialise used flags in constructors.
https://reviews.llvm.org/D28467
Files:
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/ScopeInfo.h
include/clang/Sema/Sema.h
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaLambda.cpp
test/CXX/expr/expr.prim/expr.prim.lambda/p12.cpp
test/CXX/expr/expr.prim/expr.prim.lambda/p13.cpp
test/CXX/expr/expr.prim/expr.prim.lambda/p16.cpp
test/CXX/expr/expr.prim/expr.prim.lambda/p18.cpp
test/CXX/expr/expr.prim/expr.prim.lambda/p19.cpp
test/SemaCXX/uninitialized.cpp
test/SemaCXX/warn-unused-lambda-capture.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28467.84122.patch
Type: text/x-patch
Size: 15482 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170112/6ebb5b7c/attachment-0001.bin>
More information about the cfe-commits
mailing list