[PATCH] [clang-tidy] Add a checker that flags unnamed parameters.

Benjamin Kramer benny.kra at gmail.com
Tue Jul 15 06:57:04 PDT 2014


- Added a testcase with multiple template instantiations.
- If a method has an unnamed argument and is overriding a method from a base cla
ss try to copy the argument name from the base class first.

http://reviews.llvm.org/D4518

Files:
  clang-tidy/google/CMakeLists.txt
  clang-tidy/google/GoogleTidyModule.cpp
  clang-tidy/google/NamedParameterCheck.cpp
  clang-tidy/google/NamedParameterCheck.h
  test/clang-tidy/google-readability-function.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4518.11439.patch
Type: text/x-patch
Size: 9011 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140715/42670f0e/attachment.bin>


More information about the cfe-commits mailing list