From 0ace936943d20eb85219b3654264dedeccad47ed Mon Sep 17 00:00:00 2001 From: akallabeth Date: Mon, 21 Oct 2024 18:05:31 +0200 Subject: [PATCH] [clang-tidy] disable readability-string-compare we have mostly C strings, so c++string.compare(c-string) is to be preferred to c++string == c-string --- .clang-tidy | 1 + 1 file changed, 1 insertion(+) diff --git a/.clang-tidy b/.clang-tidy index 828555003..5659f8427 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -74,6 +74,7 @@ Checks: > -readability-misleading-indentation, -readability-qualified-auto, -readability-suspicious-call-argument, + -readability-string-compare, -readability-uppercase-literal-suffix, -performance-no-int-to-ptr, -performance-avoid-endl