[PATCH] D33526: Fix spurious Wunused-lambda-capture warning

Malcolm Parsons via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 13 02:17:50 PDT 2017


malcolm.parsons added a comment.

I don't understand why init captures have this problem.
The variable is defined within the context of the lambda, but it's not within the context of the templated method.
Are you working around a bug somewhere else?


Repository:
  rL LLVM

https://reviews.llvm.org/D33526





More information about the cfe-commits mailing list