[PATCH] D26278: Avoid -Wshadow warnings for shadowed variables that aren't captured by lambdas with an explicit capture list
Alex Lorenz via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 8 08:59:30 PST 2016
arphaman updated this revision to Diff 77201.
arphaman added a comment.
The updated patch preserves the old behaviour in `-Wshadow-all`
Repository:
rL LLVM
https://reviews.llvm.org/D26278
Files:
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp
test/SemaCXX/warn-shadow-in-lambdas.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26278.77201.patch
Type: text/x-patch
Size: 7683 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161108/8ceb2ae9/attachment.bin>
More information about the cfe-commits
mailing list