[all-commits] [llvm/llvm-project] 225d25: [clang-tidy] Added IgnoreVirtual option to misc-un...

Piotr Zegar via All-commits all-commits at lists.llvm.org
Mon Apr 10 07:56:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 225d255a583ea3d50bbba49d949ca76be6a880bf
      https://github.com/llvm/llvm-project/commit/225d255a583ea3d50bbba49d949ca76be6a880bf
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2023-04-10 (Mon, 10 Apr 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/misc/UnusedParametersCheck.cpp
    M clang-tools-extra/clang-tidy/misc/UnusedParametersCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/misc/unused-parameters.rst
    A clang-tools-extra/test/clang-tidy/checkers/misc/unused-parameters-virtual.cpp

  Log Message:
  -----------
  [clang-tidy] Added IgnoreVirtual option to misc-unused-parameters

Added option to ignore virtual methods in this check.
This allows to quickly get rid of big number of
potentialy false-positive issues without inserting
not-needed comments.

Fixes #55665.

Reviewed By: njames93

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




More information about the All-commits mailing list