[PATCH] D33526: Fix spurious Wunused-lambda-capture warning
Yi Kong via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 13 03:53:47 PDT 2017
kongyi added a comment.
For normal captures, variables are safe to eliminate if they are non-ODR used or totally unused. However for init captures, non-ODR usage still depends on the capture; they are only safe to eliminate if totally unused.
Repository:
rL LLVM
https://reviews.llvm.org/D33526
More information about the cfe-commits
mailing list