From 68bfff7bcd23823f89d7a13abd8b97d57148ad54 Mon Sep 17 00:00:00 2001 From: Shaun Reed Date: Sat, 8 Mar 2025 09:38:04 -0500 Subject: [PATCH] Modify clang-tidy checks and options. + Disable static accessed though instance. + Do not mark destructors with override. --- .clang-tidy | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.clang-tidy b/.clang-tidy index 28806d5..b043ca7 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -139,7 +139,6 @@ readability-redundant-smartptr-get, readability-redundant-string-cstr, readability-redundant-string-init, readability-simplify-subscript-expr, -readability-static-accessed-through-instance, readability-static-definition-in-anonymous-namespace, readability-string-compare, readability-uniqueptr-delete-release, @@ -256,7 +255,7 @@ CheckOptions: modernize-use-nullptr.NullMacros: 'NULL' modernize-use-override.AllowOverrideAndFinal: 'false' modernize-use-override.FinalSpelling: final - modernize-use-override.IgnoreDestructors: 'false' + modernize-use-override.IgnoreDestructors: 'true' modernize-use-override.IgnoreTemplateInstantiations: 'false' modernize-use-override.OverrideSpelling: override modernize-use-transparent-functors.SafeMode: 'false' @@ -286,5 +285,4 @@ CheckOptions: readability-redundant-smartptr-get.IgnoreMacros: 'true' readability-redundant-string-init.StringNames: '::std::basic_string_view;::std::basic_string' readability-simplify-subscript-expr.Types: '::std::basic_string;::std::basic_string_view;::std::vector;::std::array;::std::span' - readability-static-accessed-through-instance.NameSpecifierNestingThreshold: '3' readability-uniqueptr-delete-release.PreferResetCall: 'false' \ No newline at end of file