This patch ensures that clang avoids the redundant -Wshadow warning for variables that already get a "redefinition of " error.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
| Paths 
 |  Differential  D28350  
[Sema] Avoid -Wshadow warning when a "redefinition of " error is presented ClosedPublic Authored by arphaman on Jan 5 2017, 4:03 AM. 
Details Summary This patch ensures that clang avoids the redundant -Wshadow warning for variables that already get a "redefinition of " error. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Jan 9 2017, 2:24 PM Closed by commit rL291564: [Sema] Avoid -Wshadow warning when a "redefinition of " error is presented (authored by arphaman).  ·  Explain WhyJan 10 2017, 6:52 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 83806 cfe/trunk/include/clang/Sema/Sema.h
 
 cfe/trunk/lib/Sema/SemaDecl.cpp
 
 cfe/trunk/test/SemaCXX/warn-shadow-in-lambdas.cpp
 cfe/trunk/test/SemaCXX/warn-shadow.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||