summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaChecking.cpp
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
commit87074f19e84b05fc583e3d3aba49dea113b68f79 (patch)
tree7dbb8abac744b1392db19ddbb09643c39fcbb7c5 /clang/lib/Sema/SemaChecking.cpp
parent83123a47ce790c9a894b2c39400fa8572edfa8c5 (diff)
downloadbcm5719-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/SemaChecking.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud