Skip to content

Commit ae7ae36

Browse files
committed
tidy: Enable two clang-tidy checks
Checks enabled: 'performance-for-range-copy' and 'performance-unnecessary-copy-initialization'
1 parent 081b0e5 commit ae7ae36

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/.clang-tidy

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ bugprone-argument-comment,
44
misc-unused-using-decls,
55
modernize-use-default-member-init,
66
modernize-use-nullptr,
7+
performance-for-range-copy,
8+
performance-unnecessary-copy-initialization,
79
readability-redundant-declaration,
810
readability-redundant-string-init,
911
'
@@ -12,6 +14,8 @@ bugprone-argument-comment,
1214
misc-unused-using-decls,
1315
modernize-use-default-member-init,
1416
modernize-use-nullptr,
17+
performance-for-range-copy,
18+
performance-unnecessary-copy-initialization,
1519
readability-redundant-declaration,
1620
readability-redundant-string-init,
1721
'

0 commit comments

Comments
 (0)