summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-10-20 01:32:02 +0000
committerDouglas Gregor <dgregor@apple.com>2010-10-20 01:32:02 +0000
commit3eedbb06dd35b021bb614250585d4a6a5b7936e7 (patch)
treebf2c95fac51e66e5e61333e11cda651fa6206621 /lib/CodeGen/CodeGenModule.h
parentb4226ff0e47484c46afe7c32122db0b341aabb51 (diff)
downloadclang-3eedbb06dd35b021bb614250585d4a6a5b7936e7.tar.gz
clang-3eedbb06dd35b021bb614250585d4a6a5b7936e7.tar.bz2
clang-3eedbb06dd35b021bb614250585d4a6a5b7936e7.tar.xz
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.h')
0 files changed, 0 insertions, 0 deletions