From 0c56f98a92eae8d9c1ea8a302b537f083fa29c54 Mon Sep 17 00:00:00 2001 From: gabime Date: Wed, 8 Apr 2020 16:27:12 +0300 Subject: [PATCH] Fix .clang-tidy --- .clang-tidy | 36 +++++++++++++++++++++++------------- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/.clang-tidy b/.clang-tidy index 651fa8e9..5337301a 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,16 +1,26 @@ -Checks: '\ -cppcoreguidelines-*,\ -performance-*,\ --performance-unnecessary-value-param,\ -modernize-*,\ --modernize-use-trailing-return-type,\ -google-*,\ --google-runtime-references,\ -misc-*,\ --misc-non-private-member-variables-in-classes,\ -cert-*,\ -readability-*,\ -clang-analyzer-*' +Checks: 'cppcoreguidelines-*, +performance-*, +modernize-*, +google-*, +misc-*, +cert-*, +readability-*, +clang-analyzer-*, +-performance-unnecessary-value-param, +-modernize-use-trailing-return-type, +-google-runtime-references, +-misc-non-private-member-variables-in-classes, +-readability-braces-around-statements, +-google-readability-braces-around-statements, +-cppcoreguidelines-avoid-magic-numbers, +-readability-magic-numbers, +-readability-magic-numbers, +-cppcoreguidelines-pro-type-vararg, +-cppcoreguidelines-pro-bounds-pointer-arithmetic, +-cppcoreguidelines-avoid-c-arrays, +-modernize-avoid-c-arrays, +-cppcoreguidelines-pro-bounds-array-to-pointer-decay, +-readability-named-parameter' WarningsAsErrors: '' HeaderFilterRegex: '*spdlog/[^f].*'