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 |
||
---|---|---|
.. | ||
class.base/class.base.init | ||
class.bit | ||
class.friend | ||
class.local | ||
class.mem | ||
class.mfct/class.mfct.non-static | ||
class.nest | ||
class.nested.type | ||
class.static/class.static.data | ||
class.union | ||
p1-0x.cpp | ||
p2-0x.cpp | ||
p6-0x.cpp |