Skip to content

Commit 229c52b

Browse files
committed
enabled and mitigated readability-implicit-bool-conversion clang-tidy warnings
1 parent 3e169d6 commit 229c52b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.clang-tidy

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ Checks: >
6666
-readability-function-size,
6767
-readability-identifier-length,
6868
-readability-identifier-naming,
69-
-readability-implicit-bool-conversion,
7069
-readability-isolate-declaration,
7170
-readability-magic-numbers,
7271
-readability-suspicious-call-argument,
@@ -82,3 +81,7 @@ CheckOptions:
8281
value: '0'
8382
- key: modernize-use-trailing-return-type.TransformFunctions
8483
value: false
84+
- key: readability-implicit-bool-conversion.AllowIntegerConditions
85+
value: true
86+
- key: readability-implicit-bool-conversion.AllowPointerConditions
87+
value: true

0 commit comments

Comments
 (0)