llvm-project/clang/lib
Kaelyn Uhrain 476c823ec8 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.

llvm-svn: 185881
2013-07-08 23:13:44 +00:00
..
ARCMigrate ObjC migration: Skip over setter/getter with attributes 2013-07-08 22:49:25 +00:00
AST Use SmallVectorImpl::reverse_iterator instead of SmallVector to avoid specifying the vector size. 2013-07-08 03:55:09 +00:00
ASTMatchers Fix use of invalidated iterator bug in AST match finder. 2013-07-08 14:16:30 +00:00
Analysis Remove bogus VarDecl::extendsLifetimeOfTemporary function and inline it into 2013-06-27 21:43:17 +00:00
Basic Use SmallVectorImpl::reverse_iterator instead of SmallVector to avoid specifying the vector size. 2013-07-08 03:55:09 +00:00
CodeGen Simplify code. No functional change. 2013-07-08 04:47:18 +00:00
Driver Use llvm::sys::fs::createTemporaryFile. 2013-07-05 20:00:06 +00:00
Edit [Objective-C migrator] replace candidate user setter/getter with 2013-07-08 21:42:08 +00:00
Format Fix incorrect incorrect cast identification in clang-format. 2013-07-08 14:58:01 +00:00
Frontend Use llvm::sys::fs::createUniqueFile. 2013-07-05 21:13:58 +00:00
FrontendTool With CLANG_ENABLE_STATIC_ANALYZER=0, link clang properly and skip clang-check. 2013-07-03 16:20:29 +00:00
Headers X86 intrinsics: cmpge|gt|nge|ngt_ss|_sd 2013-06-17 19:42:49 +00:00
Lex Use SmallVectorImpl& for function arguments instead of SmallVector. 2013-07-05 19:34:19 +00:00
Parse Use SmallVectorImpl::reverse_iterator instead of SmallVector to avoid specifying the vector size. 2013-07-08 03:55:09 +00:00
Rewrite Use llvm::sys::fs::createUniqueFile. 2013-07-05 21:13:58 +00:00
Sema Attempt typo correction for function calls with the wrong number of arguments. 2013-07-08 23:13:44 +00:00
Serialization Use llvm::sys::fs::createUniqueFile. 2013-07-05 21:13:58 +00:00
StaticAnalyzer Use llvm::sys::fs::createUniqueFile. 2013-07-05 21:13:58 +00:00
Tooling Put helper class in anonymous namespace. 2013-07-01 06:34:58 +00:00
CMakeLists.txt Turn CLANG_ENABLE_{ARCMT,REWRITER,STATIC_ANALYZER} into proper options so that 2013-05-29 21:09:18 +00:00
Makefile Dont use/link ARCMT, StaticAnalyzer and Rewriter to clang when the user 2012-12-13 16:09:42 +00:00