commit | 6eaac8b3e68177f56090ddb0fcfc8fbfd49150a6 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Oct 15 16:49:56 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Oct 15 16:49:56 2010 +0000 |
tree | f1f18cabcee74fcc891b68e8b8e878b4c761d6f8 | |
parent | 8712930d4fbb4d97c872157df49bf66255bb583a [diff] |
When performing typo correction, keep track of whether the last lookup we did was an acceptable lookup. If it is, then we can re-use that lookup result. If it isn't, we have to perform the lookup again. This is almost surely the cause behind the mysterious typo.m failures on some builders; we were getting the wrong lookup results returned. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116586 91177308-0d34-0410-b5e6-96231b3b80d8