[PATCH] [clang-tidy] Make the named parameter check only warn on declarations if a definition is visible.

Benjamin Kramer benny.kra at gmail.com
Mon Aug 4 01:44:57 PDT 2014


Hi alexfh, klimek,

This allows us to copy the parameter name from the definition (as a comment)
or insert /*unused*/ in both places.

http://reviews.llvm.org/D4772

Files:
  clang-tidy/google/NamedParameterCheck.cpp
  test/clang-tidy/google-readability-function.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4772.12151.patch
Type: text/x-patch
Size: 6454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140804/6956c3b5/attachment.bin>


More information about the cfe-commits mailing list