[PATCH] D28350: [Sema] Avoid -Wshadow warning when a "redefinition of " error is presented
Alex Lorenz via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 5 04:03:07 PST 2017
arphaman created this revision.
arphaman added reviewers: rsmith, rnk, bruno.
arphaman added a subscriber: cfe-commits.
arphaman set the repository for this revision to rL LLVM.
This patch ensures that clang avoids the redundant -Wshadow warning for variables that already get a "redefinition of " error.
Repository:
rL LLVM
https://reviews.llvm.org/D28350
Files:
include/clang/Sema/Sema.h
lib/Sema/SemaDecl.cpp
test/SemaCXX/warn-shadow-in-lambdas.cpp
test/SemaCXX/warn-shadow.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28350.83214.patch
Type: text/x-patch
Size: 5329 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170105/185848c0/attachment.bin>
More information about the cfe-commits
mailing list