]> granicus.if.org Git - clang/commit
Add typo correction for type names.
authorKaelyn Uhrain <rikka@google.com>
Tue, 11 Oct 2011 01:02:41 +0000 (01:02 +0000)
committerKaelyn Uhrain <rikka@google.com>
Tue, 11 Oct 2011 01:02:41 +0000 (01:02 +0000)
commitfac9467d1676dc05761e12e41e13e01a3a3da52b
tree12fc43c9043270ebfd6db7342c4c8d1ae1f34f8b
parente1e7862586b6077a68dea05bcdbb67f63be3057d
Add typo correction for type names.

The main motivation was to do typo correction in C++ "new" statements,
though picking it up in other places where type names are expected was
pretty much a freebie.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141621 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Parse/Parser.h
include/clang/Sema/Sema.h
lib/Parse/ParseDecl.cpp
lib/Parse/Parser.cpp
lib/Sema/SemaDecl.cpp
test/SemaCXX/missing-namespace-qualifier-typo-corrections.cpp
test/SemaCXX/typo-correction.cpp [new file with mode: 0644]