[PATCH] D28467: [Sema] Add warning for unused lambda captures

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 10 02:34:53 PST 2017


arphaman added a comment.

I think that the patch would be neater if you add "-Wno-unused-lambda-capture" to the options for all of the tests that are modified by this patch in the CXX/ directory. This would avoid redundant `(void)` uses and ensure that the `(void)` uses won't interfere with the original intent where things might be only used in the capture list.


https://reviews.llvm.org/D28467





More information about the cfe-commits mailing list