summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorKaelyn Uhrain <rikka@google.com>2013-07-08 23:13:44 +0000
committerKaelyn Uhrain <rikka@google.com>2013-07-08 23:13:44 +0000
commit6c4898b6ff23950cddca6948ef3fa0dd1848f6f1 (patch)
tree07260fae0c4171686c902ce15942e33b45afb651 /lib/CodeGen/CGExpr.cpp
parent761695fec3e4fe5aaae1544d489389bcf6cd9be4 (diff)
downloadclang-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