]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Disable some new Clang-Tidy features (#677)
authorAlexander Lanin <alex@lanin.de>
Mon, 5 Oct 2020 07:29:28 +0000 (09:29 +0200)
committerGitHub <noreply@github.com>
Mon, 5 Oct 2020 07:29:28 +0000 (09:29 +0200)
src/.clang-tidy

index 5b05927dbcd37589256d1e15217d5a6dec25a2df..c2408500965b3c554f90f4f64ca1e176c40c9a01 100644 (file)
@@ -27,6 +27,8 @@ Checks:          '-*,
                   -cppcoreguidelines-pro-type-vararg,
                   -cppcoreguidelines-owning-memory,
                   -cppcoreguidelines-avoid-magic-numbers,
+                  -cppcoreguidelines-avoid-non-const-global-variables,
+                  -cppcoreguidelines-const-correctness,
                   -cppcoreguidelines-pro-bounds-pointer-arithmetic,
                   -cppcoreguidelines-no-malloc,
                   -cppcoreguidelines-init-variables,