[all-commits] [llvm/llvm-project] 9a4e52: [clang-tidy] Add an IgnoreMacros option to readabi...

Yitzhak Mandelbaum via All-commits all-commits at lists.llvm.org
Fri Sep 30 07:27:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9a4e52ebeb6dd8527bc1ee944a9466d68a95b6f1
      https://github.com/llvm/llvm-project/commit/9a4e52ebeb6dd8527bc1ee944a9466d68a95b6f1
  Author: Yitzhak Mandelbaum <yitzhakm at google.com>
  Date:   2022-09-30 (Fri, 30 Sep 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/AvoidConstParamsInDecls.cpp
    M clang-tools-extra/clang-tidy/readability/AvoidConstParamsInDecls.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/readability/avoid-const-params-in-decls.rst
    A clang-tools-extra/test/clang-tidy/checkers/readability/avoid-const-params-in-decls-macros.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability/avoid-const-params-in-decls.cpp

  Log Message:
  -----------
  [clang-tidy] Add an IgnoreMacros option to readability-avoid-const-params-in-decls

readability-avoid-const-params-in-decls.IgnoreMacros is enabled by default to be consistent with most other checks.

Reviewed By: ymandel

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




More information about the All-commits mailing list