Teach typo correction to look inside of classes like it does namespaces.Unlike with namespaces, searching inside of classes requires alsochecking the access to correction candidates (i.e. don't su
Teach typo correction to look inside of classes like it does namespaces.Unlike with namespaces, searching inside of classes requires alsochecking the access to correction candidates (i.e. don't suggest acorrection to a private class member for a correction occurring outsidethat class and its methods or friends).Included is a small (one line) fix for a bug, that was uncovered whilecleaning up the unit tests, where the decls from a TypoCorrection candidatewere preserved in new TypoCorrection candidates that are derived (copied)from the old TypoCorrection--notably when creating a new candidate bychanging the NestedNameSpecifier associated with the base idenitifer.llvm-svn: 191449
show more ...
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead o
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target).llvm-svn: 91446
Make having no RUN line a failure.Doug, please look at decltype-crash and instantiate-function-1.mm, I'm not sureif they are actually testing the right thing / anything.llvm-svn: 77070
Add test for [class.nested.type]p1llvm-svn: 74033