From 0f2671a25ce34440a981910c393b7a2b46fe8e69 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Sun, 15 Jan 2023 23:14:02 -0700 Subject: [PATCH] Add more clang-tidy checks --- .clang-tidy | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.clang-tidy b/.clang-tidy index 259be062..4af5a31f 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,18 +1,20 @@ Checks: > -*, clang-analyzer-*, + misc-*, modernize-*, portability-*, readability-*, - -clang-analyzer-core.NonNullParamChecker, - -clang-analyzer-core.NullDereference, -clang-analyzer-nullability.NullablePassedToNonnull, -clang-analyzer-optin.cplusplus.VirtualCall, -clang-analyzer-optin.osx.*, - -clang-analyzer-optin.portability.UnixAPI, -clang-analyzer-osx.*, -clang-analyzer-security.insecureAPI.rand, -clang-analyzer-unix.Malloc, + -misc-const-correctness, + -misc-misplaced-const, + -misc-no-recursion, + -misc-non-private-member-variables-in-classes, -modernize-avoid-c-arrays, -modernize-macro-to-enum, -modernize-pass-by-value, @@ -31,7 +33,6 @@ Checks: > -readability-magic-numbers, -readability-named-parameter, -readability-uppercase-literal-suffix, - CheckOptions: - { key: readability-identifier-naming.ClassCase, value: CamelCase } - { key: readability-identifier-naming.FunctionCase, value: camelBack }