From 5a793566f308adbfea714e1803d6358c814ec4e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Fri, 9 Dec 2022 13:29:34 +0100 Subject: [PATCH] Disable readability-make-member-function-const It produces warnings in cases where we explicitly do *not* want to mark a function as const even though it can be, because it is not *logically* const. This is something no automated tool will be able to detect so disable the check to avoid spurious warnings. --- .clang-tidy | 1 + 1 file changed, 1 insertion(+) diff --git a/.clang-tidy b/.clang-tidy index 462ca505..c54b2ee4 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -38,4 +38,5 @@ readability-*, -readability-uppercase-literal-suffix, -readability-function-cognitive-complexity, -readability-implicit-bool-conversion, +-readability-make-member-function-const, -readability-convert-member-functions-to-static'