[PATCH] D15332: new clang-tidy checker readability-non-const-parameter
Daniel Marjamäki via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 15 02:22:49 PST 2016
danielmarjamaki updated this revision to Diff 47962.
danielmarjamaki added a comment.
Run this check on C++ code also. I have rerun the add_new_check python script. Minor code cleanups.
I have run this on the debian packages again. In 1806 projects there were 9691 warnings. I have so far triaged 51 of those warnings and they were all true positives as far as I saw.
I see no warning when running on Clang source code (files in llvm/tools/clang/lib/...).
http://reviews.llvm.org/D15332
Files:
clang-tidy/readability/CMakeLists.txt
clang-tidy/readability/NonConstParameterCheck.cpp
clang-tidy/readability/NonConstParameterCheck.h
clang-tidy/readability/ReadabilityTidyModule.cpp
docs/clang-tidy/checks/list.rst
docs/clang-tidy/checks/readability-non-const-parameter.rst
test/clang-tidy/readability-non-const-parameter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15332.47962.patch
Type: text/x-patch
Size: 19427 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160215/ea003643/attachment-0001.bin>
More information about the cfe-commits
mailing list