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

Thomas Etter via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 19 16:01:19 PDT 2022


thomasetter created this revision.
thomasetter added a project: clang-tools-extra.
Herald added subscribers: carlosgalvezp, xazax.hun.
Herald added a project: All.
thomasetter requested review of this revision.
Herald added a subscriber: cfe-commits.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D130130

Files:
  clang-tools-extra/clang-tidy/readability/AvoidConstParamsInDecls.cpp
  clang-tools-extra/clang-tidy/readability/AvoidConstParamsInDecls.h
  clang-tools-extra/docs/clang-tidy/checks/readability/avoid-const-params-in-decls.rst
  clang-tools-extra/test/clang-tidy/checkers/readability/avoid-const-params-in-decls-macros.cpp
  clang-tools-extra/test/clang-tidy/checkers/readability/avoid-const-params-in-decls.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130130.445972.patch
Type: text/x-patch
Size: 5075 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220719/d5c7b0f7/attachment.bin>


More information about the cfe-commits mailing list