Skip to content

Commit 56e36fb

Browse files
committed
clang-tidy : disable warning about braces around statements
The clang-tidy will complain about 'Statement should be inside braces': if (batch.token) free(batch.token); if (batch.embd) free(batch.embd); if (batch.pos) free(batch.pos); if (batch.n_seq_id) free(batch.n_seq_id);
1 parent 4f324a5 commit 56e36fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.clang-tidy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Checks: >
77
-bugprone-narrowing-conversions,
88
readability-*,
99
-readability-avoid-unconditional-preprocessor-if,
10+
-readability-braces-around-statements,
1011
-readability-function-cognitive-complexity,
1112
-readability-identifier-length,
1213
-readability-implicit-bool-conversion,

0 commit comments

Comments
 (0)