From b019633558aec28708a8757560616d408028ecf1 Mon Sep 17 00:00:00 2001 From: Jelle Raaijmakers Date: Tue, 8 Jul 2025 12:32:25 +0200 Subject: [PATCH] Meta: Disable clang-tidy's const correctness checks Using `const` should not be warned about everywhere if it does not have a clear advantages. Compilers are able to deduce constness in most cases and on top of that, it's generally accepted that using `const` communicates developer intent above all else. --- .clang-tidy | 1 + 1 file changed, 1 insertion(+) diff --git a/.clang-tidy b/.clang-tidy index 3fe345ce004..11b1c4c3923 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -32,6 +32,7 @@ Checks: > -bugprone-macro-parentheses, -bugprone-reserved-identifier,-cert-dcl37-c,-cert-dcl51-cpp, -cert-dcl21-cpp, + -misc-const-correctness, -misc-include-cleaner, -misc-no-recursion, -misc-non-private-member-variables-in-classes,