[PATCH] D107900: Add a new clang-tidy check for trivially copyable types passed by const reference

Julien Marrec via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 11 06:22:33 PDT 2021


jmarrec created this revision.
jmarrec added a reviewer: steveire.
Herald added a subscriber: mgorny.
jmarrec requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D107900

Files:
  clang-tools-extra/clang-tidy/misc/CMakeLists.txt
  clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp
  clang-tools-extra/clang-tidy/misc/PodConstRefToValueCheck.cpp
  clang-tools-extra/clang-tidy/misc/PodConstRefToValueCheck.h
  clang-tools-extra/docs/ReleaseNotes.rst
  clang-tools-extra/docs/clang-tidy/checks/list.rst
  clang-tools-extra/docs/clang-tidy/checks/misc-pod-const-ref-to-value.rst
  clang-tools-extra/test/clang-tidy/checkers/misc-pod-const-ref-to-value.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107900.365733.patch
Type: text/x-patch
Size: 11368 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210811/ec7193e2/attachment-0001.bin>


More information about the cfe-commits mailing list