From 50a4297c9718dc8f919781af8f792f5542f124f1 Mon Sep 17 00:00:00 2001 From: Johannes Lorenz Date: Sat, 21 Jan 2023 16:39:17 +0100 Subject: [PATCH] [ci skip] Update .clang-format This adds previously applied checks to the `.clang-format` file and also reorders the checks alphabetically. --- .clang-tidy | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.clang-tidy b/.clang-tidy index 804bc28f1..5de9376e5 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -2,18 +2,22 @@ Checks: > bugprone-macro-parentheses, bugprone-macro-repeated-side-effects, + modernize-avoid-c-arrays, + modernize-loop-convert, modernize-redundant-void-arg, + modernize-use-auto, modernize-use-bool-literals, modernize-use-emplace, modernize-use-equals-default, modernize-use-equals-delete, modernize-use-override, + modernize-use-using, performance-trivially-destructible, + readability-braces-around-statements, readability-const-return-type, readability-identifier-naming, readability-misleading-indentation, - readability-simplify-boolean-expr, - readability-braces-around-statements + readability-simplify-boolean-expr WarningsAsErrors: '' HeaderFilterRegex: '' # don't show errors from headers AnalyzeTemporaryDtors: false