diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-10-20 01:32:02 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-10-20 01:32:02 +0000 |
commit | 3eedbb06dd35b021bb614250585d4a6a5b7936e7 (patch) | |
tree | bf2c95fac51e66e5e61333e11cda651fa6206621 /lib/CodeGen/CodeGenModule.cpp | |
parent | b4226ff0e47484c46afe7c32122db0b341aabb51 (diff) |
Introduce a simple cache for unqualified typo corrections, so that we
don't repeatedly loop through identifiers, correcting the same typo'd
identifier over and over again.
We still bail out after 20 typo corrections, but this should help
improve performance in the common case where we're typo-correcting
because the user forgot to include a header.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116901 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions