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.
This commit is contained in:
Jelle Raaijmakers 2025-07-08 12:32:25 +02:00 committed by Tim Flynn
commit b019633558
Notes: github-actions[bot] 2025-07-08 15:05:16 +00:00

View file

@ -32,6 +32,7 @@ Checks: >
-bugprone-macro-parentheses, -bugprone-macro-parentheses,
-bugprone-reserved-identifier,-cert-dcl37-c,-cert-dcl51-cpp, -bugprone-reserved-identifier,-cert-dcl37-c,-cert-dcl51-cpp,
-cert-dcl21-cpp, -cert-dcl21-cpp,
-misc-const-correctness,
-misc-include-cleaner, -misc-include-cleaner,
-misc-no-recursion, -misc-no-recursion,
-misc-non-private-member-variables-in-classes, -misc-non-private-member-variables-in-classes,