]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
coding guidelines: remove bool advice that conflicts with clang-tidy
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Mon, 6 Jan 2025 13:48:54 +0000 (14:48 +0100)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Mon, 6 Jan 2025 13:48:54 +0000 (14:48 +0100)
CODING_GUIDELINES.md

index 63959bb43e25bd25fd30e3c33717cbf7b9a74537..7dd0671f0f07363563b8104ccb419b21945786aa 100644 (file)
@@ -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