[PATCH] D41716: clang-tidy: add IgnoreMacros option to readability-inconsistent-declaration-parameter-name
Miklos Vajna via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 3 14:09:21 PST 2018
vmiklos created this revision.
vmiklos added reviewers: alexfh, piotrdz.
And also enable it by default to be consistent with e.g. modernize-use-using.
This helps e.g. when running this check on client code where the macro is
provided by the system, so there is no easy way to modify it.
https://reviews.llvm.org/D41716
Files:
clang-tidy/readability/InconsistentDeclarationParameterNameCheck.cpp
clang-tidy/readability/InconsistentDeclarationParameterNameCheck.h
docs/clang-tidy/checks/readability-inconsistent-declaration-parameter-name.rst
test/clang-tidy/readability-inconsistent-declaration-parameter-name-macros.cpp
test/clang-tidy/readability-inconsistent-declaration-parameter-name.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41716.128562.patch
Type: text/x-patch
Size: 5337 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180103/c4e35c97/attachment.bin>
More information about the cfe-commits
mailing list