]> granicus.if.org Git - clang/commit
Improve overloaded function handling in the typo correction code.
authorKaelyn Uhrain <rikka@google.com>
Wed, 3 Aug 2011 20:36:05 +0000 (20:36 +0000)
committerKaelyn Uhrain <rikka@google.com>
Wed, 3 Aug 2011 20:36:05 +0000 (20:36 +0000)
commitf0c1d8f804e7854bedf3f241409185951ee67866
tree9366eb733b4bf2cc8d0d533c7c4b5048a88e6502
parent17f7bdddd11a2dc5b4be248f756e14b1ebfe207b
Improve overloaded function handling in the typo correction code.

Change TypoCorrection to store a set of NamedDecls instead of a single
NamedDecl. Also add initial support for performing function overload
resolution to Sema::DiagnoseEmptyLookup.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136807 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
include/clang/Sema/TypoCorrection.h
lib/Sema/SemaExpr.cpp
lib/Sema/SemaLookup.cpp
lib/Sema/SemaOverload.cpp
test/FixIt/typo-crash.cpp
test/SemaCXX/function-overload-typo-crash.cpp