]> granicus.if.org Git - clang/commit
When adding boolean keywords for typo correction, add either "bool" or
authorDouglas Gregor <dgregor@apple.com>
Fri, 1 Jul 2011 21:27:45 +0000 (21:27 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 1 Jul 2011 21:27:45 +0000 (21:27 +0000)
commit07f4a06c402a2ccdd9eae7a3d710990b22040001
treebe9466e4646077ff6ea71aaa3c613393031099e2
parentdf9a41f3c1d1ca5aec6e2c17e38c29cff72b8726
When adding boolean keywords for typo correction, add either "bool" or
"_Bool" (depending on dialect), but not both, since they have the same
edit distance from "Bool".

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