forked from OSchip/llvm-project
95995be7a3
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 |
||
---|---|---|
.. | ||
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 |