[clang-tools-extra] [clang-tidy] Add performance-const-ref-copy check (PR #182024)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 18 07:27:56 PST 2026
================
@@ -133,6 +133,12 @@ New checks
Finds places where structured bindings could be used to decompose pairs and
suggests replacing them.
+- New :doc:`performance-const-ref-copy
+ <clang-tidy/checks/performance/const-ref-copy>` check.
+
+ Finds ``const T&`` parameters that are unconditionally copied into
----------------
EugeneZelenko wrote:
Please synchronize with first statement in documentation.
https://github.com/llvm/llvm-project/pull/182024
More information about the cfe-commits
mailing list