[PATCH] D12462: [PATCH] [clang-tidy] Add inconsistent declaration parameter name check
Piotr Dziwinski via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 28 18:09:48 PDT 2015
piotrdz created this revision.
piotrdz added a subscriber: cfe-commits.
piotrdz set the repository for this revision to rL LLVM.
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.
Repository:
rL LLVM
http://reviews.llvm.org/D12462
Files:
tools/clang/extra/clang-tidy/readability/CMakeLists.txt
tools/clang/extra/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.cpp
tools/clang/extra/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.h
tools/clang/extra/clang-tidy/readability/ReadabilityTidyModule.cpp
tools/clang/extra/docs/clang-tidy/checks/list.rst
tools/clang/extra/docs/clang-tidy/checks/readability-inconsistent-declaration-parameter-name.rst
tools/clang/extra/test/clang-tidy/readability-inconsistent-declaration-parameter-name.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12462.33499.patch
Type: text/x-patch
Size: 10629 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150829/f32fe565/attachment.bin>
More information about the cfe-commits
mailing list