forked from OSchip/llvm-project
715ee079da
Diagnose the name of the class being shadowed by using declarations, and improve the diagnostics for the case where the name of the class is shadowed by a non-static data member in a class with constructors. In the latter case, we now always give the "member with the same name as its class" diagnostic regardless of the relative order of the member and the constructor, rather than giving an inscrutible diagnostic if the constructor appears second. llvm-svn: 335182 |
||
---|---|---|
.. | ||
p1.cpp | ||
p1b.cpp | ||
p2.cpp | ||
p5-0x.cpp | ||
p8-0x.cpp | ||
p13.cpp | ||
p14.cpp |