llvm-project/clang-tools-extra/clang-tidy/readability
Alexander Kornienko 11d4d6446e [clang-tidy] Add inconsistent declaration parameter name check
This is first of series of patches, porting code from my project colobot-lint,
as I mentioned recently in cfe-dev mailing list.

This patch adds a new check in readability module:
readability-inconsistent-declaration-parameter-name. I also added appropriate
testcases and documentation.

I chose readability module, as it seems it is the best place for it.

I think I followed the rules of LLVM coding guideline, but I may have missed
something, as I usually use other code formatting style.

http://reviews.llvm.org/D12462

Patch by Piotr Dziwinski!

llvm-svn: 247261
2015-09-10 10:07:11 +00:00
..
BracesAroundStatementsCheck.cpp [clang-tidy] Fix PR22785. 2015-09-09 17:06:09 +00:00
BracesAroundStatementsCheck.h [clang-tidy] Update docs for clang-tidy checks. NFC 2015-08-27 18:01:58 +00:00
CMakeLists.txt [clang-tidy] Add inconsistent declaration parameter name check 2015-09-10 10:07:11 +00:00
ContainerSizeEmptyCheck.cpp Disable clang-tidy readability checkers when not compiling in C++ mode. None of the checkers require additional testing as the tests will not compile for other languages or modes, or the checkers would never match a valid construct. 2015-09-02 16:05:21 +00:00
ContainerSizeEmptyCheck.h [clang-tidy] Update docs for clang-tidy checks. NFC 2015-08-27 18:01:58 +00:00
ElseAfterReturnCheck.cpp clang-tidy: [readability-else-after-return] Fix false positive. This 2015-04-27 22:42:20 +00:00
ElseAfterReturnCheck.h [clang-tidy] Update docs for clang-tidy checks. NFC 2015-08-27 18:01:58 +00:00
FunctionSizeCheck.cpp [clang-tidy] Refactor: Rename clang-tidy readability check files and classes to follow naming conventions 2015-03-09 12:18:39 +00:00
FunctionSizeCheck.h [clang-tidy] Update docs for clang-tidy checks. NFC 2015-08-27 18:01:58 +00:00
IdentifierNamingCheck.cpp [clang-tidy] Add new IdentifierNaming check 2015-08-19 11:15:36 +00:00
IdentifierNamingCheck.h [clang-tidy] Update docs for clang-tidy checks. NFC 2015-08-27 18:01:58 +00:00
InconsistentDeclarationParameterNameCheck.cpp [clang-tidy] Add inconsistent declaration parameter name check 2015-09-10 10:07:11 +00:00
InconsistentDeclarationParameterNameCheck.h [clang-tidy] Add inconsistent declaration parameter name check 2015-09-10 10:07:11 +00:00
Makefile
NamedParameterCheck.cpp [clang-tidy] Move google-readability-function check to readability-named-parameter. 2015-03-16 22:31:16 +00:00
NamedParameterCheck.h [clang-tidy] Update docs for clang-tidy checks. NFC 2015-08-27 18:01:58 +00:00
NamespaceCommentCheck.cpp Disable clang-tidy readability checkers when not compiling in C++ mode. None of the checkers require additional testing as the tests will not compile for other languages or modes, or the checkers would never match a valid construct. 2015-09-02 16:05:21 +00:00
NamespaceCommentCheck.h [clang-tidy] Update docs for clang-tidy checks. NFC 2015-08-27 18:01:58 +00:00
ReadabilityTidyModule.cpp [clang-tidy] Add inconsistent declaration parameter name check 2015-09-10 10:07:11 +00:00
RedundantSmartptrGetCheck.cpp Disable clang-tidy readability checkers when not compiling in C++ mode. None of the checkers require additional testing as the tests will not compile for other languages or modes, or the checkers would never match a valid construct. 2015-09-02 16:05:21 +00:00
RedundantSmartptrGetCheck.h [clang-tidy] Update docs for clang-tidy checks. NFC 2015-08-27 18:01:58 +00:00
RedundantStringCStrCheck.cpp Disable clang-tidy readability checkers when not compiling in C++ mode. None of the checkers require additional testing as the tests will not compile for other languages or modes, or the checkers would never match a valid construct. 2015-09-02 16:05:21 +00:00
RedundantStringCStrCheck.h [clang-tidy] Update docs for clang-tidy checks. NFC 2015-08-27 18:01:58 +00:00
SimplifyBooleanExprCheck.cpp [clang-tidy] Enhance clang-tidy readability-simplify-boolean-expr... 2015-07-01 12:39:40 +00:00
SimplifyBooleanExprCheck.h [clang-tidy] Update docs for clang-tidy checks. NFC 2015-08-27 18:01:58 +00:00