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 | 87074f19e84b05fc583e3d3aba49dea113b68f79 (patch) | |
tree | 7dbb8abac744b1392db19ddbb09643c39fcbb7c5 /clang/lib/Sema/SemaAttr.cpp | |
parent | 83123a47ce790c9a894b2c39400fa8572edfa8c5 (diff) | |
download | bcm5719-llvm-87074f19e84b05fc583e3d3aba49dea113b68f79.tar.gz bcm5719-llvm-87074f19e84b05fc583e3d3aba49dea113b68f79.zip |
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.
llvm-svn: 116901
Diffstat (limited to 'clang/lib/Sema/SemaAttr.cpp')
0 files changed, 0 insertions, 0 deletions