[PATCH] D18408: readability check for const params in declarations

Matt Kulukundis via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 23 10:57:08 PDT 2016


fowles created this revision.
fowles added a reviewer: alexfh.
fowles added a subscriber: cfe-commits.

Adds a clang-tidy warning for top-level consts in function declarations.

http://reviews.llvm.org/D18408

Files:
  clang-tidy/readability/AvoidConstParamsInDecls.cpp
  clang-tidy/readability/AvoidConstParamsInDecls.h
  clang-tidy/readability/CMakeLists.txt
  clang-tidy/readability/ReadabilityTidyModule.cpp
  docs/clang-tidy/checks/list.rst
  docs/clang-tidy/checks/readability-avoid-const-params-in-decls.rst
  test/clang-tidy/readability-avoid-const-params-in-decls.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18408.51446.patch
Type: text/x-patch
Size: 9352 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160323/5e391e0d/attachment-0001.bin>


More information about the cfe-commits mailing list