]> granicus.if.org Git - clang/commit
Don't suggest non-static methods as corrections when they obviously
authorKaelyn Uhrain <rikka@google.com>
Fri, 28 Feb 2014 18:12:42 +0000 (18:12 +0000)
committerKaelyn Uhrain <rikka@google.com>
Fri, 28 Feb 2014 18:12:42 +0000 (18:12 +0000)
commit044b71a30fa873952931341159c3773f23937868
tree7a5539a67dc2f2e800cb3b90576f512abac2beeb
parent3841b5a0a7712aafd4b002d19af785c86969cee4
Don't suggest non-static methods as corrections when they obviously
won't work (i.e. when not doing a member lookup and not in a method from
the same class or a descendant class).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202520 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/TypoCorrection.h
lib/Sema/SemaLookup.cpp
lib/Sema/SemaOverload.cpp
test/SemaCXX/typo-correction-pt2.cpp