llvm-project/clang/test/CXX/class
Kaelyn Uhrain 95995be7a3 Teach typo correction to look inside of classes like it does namespaces.
Unlike with namespaces, searching inside of classes requires also
checking the access to correction candidates (i.e. don't suggest a
correction to a private class member for a correction occurring outside
that class and its methods or friends).

Included is a small (one line) fix for a bug, that was uncovered while
cleaning up the unit tests, where the decls from a TypoCorrection candidate
were preserved in new TypoCorrection candidates that are derived (copied)
from the old TypoCorrection--notably when creating a new candidate by
changing the NestedNameSpecifier associated with the base idenitifer.

llvm-svn: 191449
2013-09-26 19:10:29 +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 Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
class.friend C++11: don't warn about the deprecated 'register' keyword if it's combined with 2013-06-17 01:34:01 +00:00
class.local Remove the "unsupported" error for lambda expressions. It's annoying, 2012-02-09 08:26:42 +00:00
class.mem Don't use the implicit int rule for error recovery in C++. Instead, try to 2012-05-15 21:01:51 +00:00
class.mfct/class.mfct.non-static When creating an implicit member expression through a qualified-id, check that the class 2011-04-14 00:46:47 +00:00
class.nest 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
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 Move -Wstatic-float-init fixit into a note & don't recover as if constexpr 2013-01-29 22:26:08 +00:00
class.union Move -Wstatic-float-init fixit into a note & don't recover as if constexpr 2013-01-29 22:26:08 +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