summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2022-12-09 13:29:34 +0100
committerLéo Lam <leo@leolam.fr>2022-12-09 13:30:03 +0100
commit5a793566f308adbfea714e1803d6358c814ec4e3 (patch)
treeeb2b5eebafb3c26eed739ed0c9c0339e22d1f37f
parent8dbd0d7839f8c42b94290da31b3e80964e5b392e (diff)
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.
-rw-r--r--.clang-tidy1
1 files changed, 1 insertions, 0 deletions
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'