]> granicus.if.org Git - clang/commit
Per offline discussion with Doug, don't perform typo correction when we have encounte...
authorTed Kremenek <kremenek@apple.com>
Wed, 6 Jan 2010 00:23:04 +0000 (00:23 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 6 Jan 2010 00:23:04 +0000 (00:23 +0000)
commit1dac3418f43c132df0b836a2f514f82a44189ef9
tree58e46cc6df04cce2b4d62fd530256c38e375eed7
parent02deae8f9bb2cbd177816cd6b4b10129461980f7
Per offline discussion with Doug, don't perform typo correction when we have encountered a fatal error.  On some files that are woefully wrong (missing headers) this can cause a 3x slowdown in some cases when parsing the file.  It makes sense not to perform typo correction in this case because after a fatal error diagnostics will either be suppressed or not really make any sense.

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