[PATCH] D107873: [WIP][clang-tidy] adds a const-qualified parameter check

Christopher Di Bella via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 14 14:31:59 PDT 2021


cjdb updated this revision to Diff 366456.
cjdb marked 9 inline comments as done.
cjdb added a comment.

- adds user options

- removes use of `auto`
- fixes header comment
- removes unused type
- fixes documentation


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107873/new/

https://reviews.llvm.org/D107873

Files:
  clang-tools-extra/clang-tidy/performance/CMakeLists.txt
  clang-tools-extra/clang-tidy/performance/ConstParameterValueOrRef.cpp
  clang-tools-extra/clang-tidy/performance/ConstParameterValueOrRef.h
  clang-tools-extra/clang-tidy/performance/PerformanceTidyModule.cpp
  clang-tools-extra/clang-tidy/utils/FixItHintUtils.cpp
  clang-tools-extra/clang-tidy/utils/FixItHintUtils.h
  clang-tools-extra/docs/clang-tidy/checks/performance-const-parameter-value-or-ref.rst
  clang-tools-extra/test/clang-tidy/checkers/performance-const-parameter-value-or-ref/custom-max-size.cpp
  clang-tools-extra/test/clang-tidy/checkers/performance-const-parameter-value-or-ref/defaults.cpp
  clang-tools-extra/test/clang-tidy/checkers/performance-const-parameter-value-or-ref/forward-declarations-suppress-warnings-false.cpp
  llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/performance/BUILD.gn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107873.366456.patch
Type: text/x-patch
Size: 39102 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210814/e588a715/attachment-0001.bin>


More information about the cfe-commits mailing list