diff options
| author | Kaelyn Uhrain <rikka@google.com> | 2013-09-27 19:40:12 +0000 |
|---|---|---|
| committer | Kaelyn Uhrain <rikka@google.com> | 2013-09-27 19:40:12 +0000 |
| commit | 6243f627680fbf7c5bf2f339967d806f47153746 (patch) | |
| tree | 10459733a57b4e14e8f42e1b68bced064f0d95c4 /lib/CodeGen/CGExpr.cpp | |
| parent | 2b17b472d2f503ee61c460ca23f226c2aebcdd62 (diff) | |
| download | clang-6243f627680fbf7c5bf2f339967d806f47153746.tar.gz clang-6243f627680fbf7c5bf2f339967d806f47153746.tar.bz2 clang-6243f627680fbf7c5bf2f339967d806f47153746.tar.xz | |
Avoid the hard-coded limit on the number of typo corrections attempted.
Move some tests from typo-correction.cpp to typo-correction-pt2.cpp
because they were running afoul of the hard-coded limit of 20 typos
corrected. Some of the tests after it were still working due to the
limit not applying to cached corrections and in cases where a non-NULL
MemberContext is passed in to Sema::CorrectTypo. Most of the moved tests
still passed after being moved, but the test involving "data_struct" had
only been passing because the test had exceeded that limit so a fix for
it is also included (most of the changes to ParseStmt.cpp are shared with
and originated from another typo correction impovement that was split
into a separate commit).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191544 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
