[PATCH] D114539: [clang-tidy] performance-unnecessary-copy-initialization: handle pointer containers.
Clement Courbet via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 24 07:21:47 PST 2021
courbet created this revision.
courbet added reviewers: flx, aaron.ballman.
Herald added subscribers: carlosgalvezp, xazax.hun, mgorny.
courbet requested review of this revision.
Herald added a project: clang-tools-extra.
This includes modifying `DeclRefExprUtils` to handle more cases.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D114539
Files:
clang-tools-extra/clang-tidy/performance/UnnecessaryCopyInitialization.cpp
clang-tools-extra/clang-tidy/utils/DeclRefExprUtils.cpp
clang-tools-extra/test/clang-tidy/checkers/performance-unnecessary-copy-initialization.cpp
clang-tools-extra/unittests/clang-tidy/CMakeLists.txt
clang-tools-extra/unittests/clang-tidy/DeclRefExprUtilsTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114539.389493.patch
Type: text/x-patch
Size: 20695 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211124/b93c3aec/attachment-0001.bin>
More information about the cfe-commits
mailing list