[PATCH] D20689: [clang-tidy] Suspicious Call Argument checker
Varju Janos via cfe-commits
cfe-commits at lists.llvm.org
Thu May 26 10:38:34 PDT 2016
varjujan created this revision.
varjujan added a reviewer: alexfh.
varjujan added subscribers: xazax.hun, cfe-commits.
This checker finds those function calls where the function arguments are provided in an incorrect order. It compares the name of the given variable to the argument name in the function definition.
It issues a message if the given variable name is similar to an another function argument in a function call. It uses case insensitive comparison.
http://reviews.llvm.org/D20689
Files:
clang-tidy/misc/CMakeLists.txt
clang-tidy/misc/MiscTidyModule.cpp
clang-tidy/misc/SuspiciousCallArgumentCheck.cpp
clang-tidy/misc/SuspiciousCallArgumentCheck.h
docs/clang-tidy/checks/list.rst
docs/clang-tidy/checks/misc-suspicious-call-argument.rst
test/clang-tidy/misc-suspicious-call-argument.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20689.58644.patch
Type: text/x-patch
Size: 16921 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160526/527d2d8e/attachment.bin>
More information about the cfe-commits
mailing list