From 237bc63c01a94a1cf7e4411b775348ceb3cdf2b3 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Thu, 29 Aug 2024 23:19:42 +0100 Subject: [PATCH] clang-tidy: be more strict about strcmp Signed-off-by: Yuxuan Shui --- .clang-tidy | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.clang-tidy b/.clang-tidy index 430a4f51..cb310eeb 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -28,3 +28,5 @@ CheckOptions: value: true - key: bugprone-signed-char-misuse.CharTypdefsToIgnore value: int8_t + - key: bugprone-suspicious-string-compare.WarnOnLogicalNotComparison + value: true