[PATCH] D91893: [clang-tidy] performance-unnecessary-copy-initialization: Prevent false positives when dependent variable is modified.

Felix Berger via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 10 12:56:49 PST 2020


flx updated this revision to Diff 310997.
flx marked an inline comment as done.
flx added a comment.

Shortened isa<> expression.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91893

Files:
  clang-tools-extra/clang-tidy/performance/UnnecessaryCopyInitialization.cpp
  clang-tools-extra/clang-tidy/utils/DeclRefExprUtils.cpp
  clang-tools-extra/clang-tidy/utils/Matchers.h
  clang-tools-extra/test/clang-tidy/checkers/performance-unnecessary-copy-initialization.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91893.310997.patch
Type: text/x-patch
Size: 12853 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201210/9ad538a5/attachment-0001.bin>


More information about the cfe-commits mailing list