]> granicus.if.org Git - clang/commit
Improve diagnostics for typo correction via Sema::ClassifyName(), by
authorDouglas Gregor <dgregor@apple.com>
Wed, 27 Apr 2011 03:47:06 +0000 (03:47 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 27 Apr 2011 03:47:06 +0000 (03:47 +0000)
commit27766d2501259c7b12b1056e0c491a927b304e10
tree36791008569ca6271234dd8762483eff6f5a6944
parent17ffd14040069eb5631347c6eafcfc906570b7cf
Improve diagnostics for typo correction via Sema::ClassifyName(), by
looking at the context and the correction and using a custom
diagnostic. Also, enable some Fix-It tests that were somewhat lamely
disabled.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130283 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/FixIt/typo.c
test/FixIt/typo.cpp