[PATCH] D87455: [clang-tidy] performance-unnecessary-copy-initialization: Restrict UnnecessaryCopyInitialization check to variables initialized from methods/functions without arguments

Felix Berger via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 10 10:40:45 PDT 2020


flx added a comment.

The motivating false positive was the free functions `std::min`. To not limit the usefulness of the check I'll only disable arguments for free functions for now. Updated change coming.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87455



More information about the cfe-commits mailing list