From: Peter van Dijk Date: Mon, 6 Jan 2025 13:48:54 +0000 (+0100) Subject: coding guidelines: remove bool advice that conflicts with clang-tidy X-Git-Tag: dnsdist-2.0.0-alpha1~192^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90e3098a3a979004b8f871bec229d706ee7d9b72;p=thirdparty%2Fpdns.git coding guidelines: remove bool advice that conflicts with clang-tidy --- diff --git a/CODING_GUIDELINES.md b/CODING_GUIDELINES.md index 63959bb43e..7dd0671f0f 100644 --- a/CODING_GUIDELINES.md +++ b/CODING_GUIDELINES.md @@ -611,7 +611,6 @@ Without `auto`, code might still compile but trigger a copy or worse. ## Explicit Comparisons * Compare numerical values with `== 0` or `!= 0` explicitly ; -* Compare to `false` explicitly, which is easier to read ; * Compare to `nullptr` for the same reason. ## Initialization