llvm-project/clang/test/CXX/expr/expr.prim
Malcolm Parsons 87a036259b [Sema] Add warning for unused lambda captures
Summary:
Warn when a lambda explicitly captures something that is not used in its body.

The warning is part of -Wunused and can be enabled with -Wunused-lambda-capture.

Reviewers: rsmith, arphaman, jbcoe, aaron.ballman

Subscribers: Quuxplusone, arphaman, cfe-commits

Differential Revision: https://reviews.llvm.org/D28467

llvm-svn: 291905
2017-01-13 15:01:06 +00:00
..
expr.prim.general Update error message text. 2015-01-18 19:05:48 +00:00
expr.prim.lambda [Sema] Add warning for unused lambda captures 2017-01-13 15:01:06 +00:00