clang/test/CXX/class
Richard Smith 39990b1e95 Related to PR37768: improve diagnostics for class name shadowing.
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@335182 91177308-0d34-0410-b5e6-96231b3b80d8
2018-06-20 21:58:20 +00:00
..
class.base/class.base.init Include named unions in union member init checking 2011-11-17 06:01:57 +00:00
class.bit Implement DR2229, which prohibits unnamed bit-fields from having qualifiers in C++. 2018-03-17 21:08:40 +00:00
class.friend Lit C++11 Compatibility Patch #8 2016-04-14 23:47:07 +00:00
class.local Remove the "unsupported" error for lambda expressions. It's annoying, 2012-02-09 08:26:42 +00:00
class.mem Related to PR37768: improve diagnostics for class name shadowing. 2018-06-20 21:58:20 +00:00
class.mfct/class.mfct.non-static revert changes from r311851. 2017-08-27 19:00:08 +00:00
class.nest [Lit Test] Updated 20 Lit tests to be C++11 compatible. 2015-12-10 01:07:17 +00:00
class.nested.type Teach typo correction to look inside of classes like it does namespaces. 2013-09-26 19:10:29 +00:00
class.static/class.static.data Don't warn about runtime behavior problems in variable initializers that we 2017-09-23 18:27:11 +00:00
class.union Adjust and fix failing CXX tests after r332799 2018-05-19 03:33:56 +00:00
p1-0x.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
p2-0x.cpp PR13890: Warn on abstract final classes. 2012-09-21 03:21:07 +00:00
p6-0x.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00