]> granicus.if.org Git - clang/commit
During typo correction, check for an exact match in an unimported module. If we
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 20 Aug 2013 20:35:18 +0000 (20:35 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 20 Aug 2013 20:35:18 +0000 (20:35 +0000)
commitd67679d7439bd17b06574781b908630f4640c662
treef19c2d3336404507c1f3cae369cb68ed08960123
parent5321e94281f4944d05ab5f90208933afc1e7cae8
During typo correction, check for an exact match in an unimported module. If we
find one, then report the error as a missing import instead of as a typo.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188821 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Lookup.h
include/clang/Sema/TypoCorrection.h
lib/Sema/SemaLookup.cpp
test/Modules/auto-module-import.m
test/Modules/decldef.m
test/Modules/decldef.mm
test/Modules/normal-module-map.cpp
test/Modules/subframeworks.m
test/Modules/submodules.cpp