[clang-tidy] misc-unused-parameters - retain old behavior under StrictMode
authorAlexander Kornienko <alexfh@google.com>
Thu, 28 Jun 2018 15:21:25 +0000 (15:21 +0000)
committerAlexander Kornienko <alexfh@google.com>
Thu, 28 Jun 2018 15:21:25 +0000 (15:21 +0000)
commitf7ad8bfbad4a095a0b9b4378da023573ef854418
tree2ac9f3c9e9c475cd7af9afa6923399ee8bb8c35a
parentaa8a88af05fef8a447d2516d9d01d27dfae4a567
[clang-tidy] misc-unused-parameters - retain old behavior under StrictMode

Summary: This addresses https://bugs.llvm.org/show_bug.cgi?id=37467.

Reviewers: klimek, ilya-biryukov, lebedev.ri, aaron.ballman

Reviewed By: lebedev.ri, aaron.ballman

Subscribers: aaron.ballman, lebedev.ri, xazax.hun, cfe-commits

Differential Revision: https://reviews.llvm.org/D46951

llvm-svn: 335863
clang-tools-extra/clang-tidy/misc/UnusedParametersCheck.cpp
clang-tools-extra/clang-tidy/misc/UnusedParametersCheck.h
clang-tools-extra/docs/clang-tidy/checks/misc-unused-parameters.rst
clang-tools-extra/test/clang-tidy/misc-unused-parameters-strict.cpp [new file with mode: 0644]
clang-tools-extra/test/clang-tidy/misc-unused-parameters.cpp