Skip to content

Commit bb1a26e

Browse files
committed
style: add new checks to .clang-tidy without changes in codebase
List of checks: - readability-redundant-access-specifiers - performance-trivially-destructible - bugprone-undefined-memory-manipulation - bugprone-unhandled-self-assignment - cppcoreguidelines-prefer-member-initializer
1 parent 915f036 commit bb1a26e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.clang-tidy

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Checks: >
1515
readability-container-size-empty,
1616
readability-delete-null-pointer,
1717
readability-make-member-function-const,
18+
readability-redundant-access-specifiers,
1819
performance-for-range-copy,
1920
performance-implicit-conversion-in-loop,
2021
performance-inefficient-algorithm,
@@ -24,6 +25,7 @@ Checks: >
2425
performance-unnecessary-copy-initialization,
2526
performance-unnecessary-value-param,
2627
performance-no-automatic-move,
28+
performance-trivially-destructible,
2729
modernize-make-shared,
2830
modernize-use-bool-literals,
2931
modernize-use-emplace,
@@ -41,13 +43,16 @@ Checks: >
4143
bugprone-unhandled-self-assignment,
4244
bugprone-multiple-statement-macro,
4345
bugprone-macro-parentheses,
46+
bugprone-undefined-memory-manipulation,
47+
bugprone-unhandled-self-assignment,
4448
google-default-arguments,
4549
misc-misplaced-const,
4650
misc-definitions-in-headers,
4751
misc-redundant-expression,
4852
misc-uniqueptr-reset-release,
4953
misc-unused-alias-decls,
5054
misc-unused-using-decls,
55+
cppcoreguidelines-prefer-member-initializer,
5156
5257
CheckOptions:
5358
- key: readability-identifier-naming.ClassCase

0 commit comments

Comments
 (0)