From ae7ae36d311a869b3bda41d29dc0e47fade77d28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A8le=20Oul=C3=A8s?= Date: Tue, 26 Jul 2022 14:47:56 +0200 Subject: [PATCH] tidy: Enable two clang-tidy checks Checks enabled: 'performance-for-range-copy' and 'performance-unnecessary-copy-initialization' --- src/.clang-tidy | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/.clang-tidy b/src/.clang-tidy index b9371b147b6..f59f80f8ce8 100644 --- a/src/.clang-tidy +++ b/src/.clang-tidy @@ -4,6 +4,8 @@ bugprone-argument-comment, misc-unused-using-decls, modernize-use-default-member-init, modernize-use-nullptr, +performance-for-range-copy, +performance-unnecessary-copy-initialization, readability-redundant-declaration, readability-redundant-string-init, ' @@ -12,6 +14,8 @@ bugprone-argument-comment, misc-unused-using-decls, modernize-use-default-member-init, modernize-use-nullptr, +performance-for-range-copy, +performance-unnecessary-copy-initialization, readability-redundant-declaration, readability-redundant-string-init, '