llvm-project/clang/test/CXX/basic
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
..
basic.def.odr
basic.link Switch the semantic DeclContext for a block-scope declaration of a function or 2013-09-20 01:15:31 +00:00
basic.lookup Teach typo correction to look inside of classes like it does namespaces. 2013-09-26 19:10:29 +00:00
basic.scope Fix more try scoping bugs introduced by r167650. 2012-11-12 22:25:41 +00:00
basic.start/basic.start.main Sema: Do not merge new decls with invalid, old decls 2013-07-07 23:49:50 +00:00
basic.stc/basic.stc.dynamic 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
basic.types C++1y constexpr extensions, round 1: Allow most forms of declaration and 2013-04-22 15:31:51 +00:00