diff options
| author | Kaelyn Uhrain <rikka@google.com> | 2013-07-08 23:13:44 +0000 |
|---|---|---|
| committer | Kaelyn Uhrain <rikka@google.com> | 2013-07-08 23:13:44 +0000 |
| commit | 6c4898b6ff23950cddca6948ef3fa0dd1848f6f1 (patch) | |
| tree | 07260fae0c4171686c902ce15942e33b45afb651 /lib/CodeGen/CGExpr.cpp | |
| parent | 761695fec3e4fe5aaae1544d489389bcf6cd9be4 (diff) | |
| download | clang-6c4898b6ff23950cddca6948ef3fa0dd1848f6f1.tar.gz clang-6c4898b6ff23950cddca6948ef3fa0dd1848f6f1.tar.bz2 clang-6c4898b6ff23950cddca6948ef3fa0dd1848f6f1.tar.xz | |
Attempt typo correction for function calls with the wrong number of arguments.
Combined with typo correction's new ability to apply global/absolute nested
name specifiers to possible corrections, cases such as in PR12287 where the
desired function is being shadowed by a lexically closer function with the
same name but a different number of parameters will now include a FixIt.
On a side note, since the test for this change caused
test/SemaCXX/typo-correction.cpp to exceed the typo correction limit for
a single file, I've included a test case for exceeding the limit and added
some comments to both the original and part two of typo-correction.cpp
warning future editors of the files about the limit.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185881 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
