From 251a155833170b9ab4b538972c3d264f3e8eef4d Mon Sep 17 00:00:00 2001 From: Bill Torpey Date: Wed, 3 Mar 2021 14:26:17 -0500 Subject: [PATCH] add suppressions for clang-tidy-10 on ubuntu: -hicpp-avoid-goto: duplicate of -cppcoreguidelines-avoid-goto -readability-magic-numbers: duplicate of -cppcoreguidelines-avoid-magic-numbers -readability-identifier-naming: avoid complaints about variables like i, n --- .clang-tidy | 3 +++ 1 file changed, 3 insertions(+) mode change 100644 => 100755 .clang-tidy diff --git a/.clang-tidy b/.clang-tidy old mode 100644 new mode 100755 index 0abe92bf..32c6ca4f --- a/.clang-tidy +++ b/.clang-tidy @@ -10,8 +10,10 @@ Checks: "*,\ -google-readability-todo,\ -google-runtime-int,\ -cppcoreguidelines-avoid-goto,\ +-hicpp-avoid-goto, \ -cppcoreguidelines-pro-type-member-init,\ -cppcoreguidelines-pro-type-static-cast-downcast,\ +-readability-identifier-naming,\ # not applicable,\ -fuchsia-default-arguments-calls,\ -fuchsia-overloaded-operator,\ @@ -45,6 +47,7 @@ Checks: "*,\ -google-readability-braces-around-statements,\ -cppcoreguidelines-pro-type-cstyle-cast,\ -cppcoreguidelines-avoid-magic-numbers,\ +-readability-magic-numbers,\ -hicpp-braces-around-statements,\ -hicpp-use-equals-default,\ -hicpp-deprecated-headers,\