[PATCH] D106173: [clang-tidy] performance-unnecessary-copy-initialization: Create option to exclude container types from triggering the check.

Felix Berger via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 22 10:05:37 PDT 2021


flx updated this revision to Diff 360865.
flx added a comment.

Add test file for the new option.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106173

Files:
  clang-tools-extra/clang-tidy/performance/UnnecessaryCopyInitialization.cpp
  clang-tools-extra/clang-tidy/performance/UnnecessaryCopyInitialization.h
  clang-tools-extra/docs/clang-tidy/checks/performance-unnecessary-copy-initialization.rst
  clang-tools-extra/test/clang-tidy/checkers/performance-unnecessary-copy-initialization-excluded-container-types.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106173.360865.patch
Type: text/x-patch
Size: 10079 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210722/ce4131fe/attachment-0001.bin>


More information about the cfe-commits mailing list