]> granicus.if.org Git - clang/commit
Fix typo correction crash on overloaded functions, pr10283.
authorHans Wennborg <hans@hanshq.net>
Tue, 12 Jul 2011 08:45:31 +0000 (08:45 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 12 Jul 2011 08:45:31 +0000 (08:45 +0000)
commit701d1e77aca7e86348386fdeadcd56ca650f95ad
tree281a6097d309cdbf2380800c1668b72a67e5ffa9
parent91832368ef1c1158c4351bdccaa141dac818f04e
Fix typo correction crash on overloaded functions, pr10283.

It would be cool if we could do overload resolution to suggest
the right function, but at least this fixes the crashing.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134976 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
lib/Sema/SemaLookup.cpp
test/SemaCXX/function-overload-typo-crash.cpp [new file with mode: 0644]