From 310693be2ccbba6dc2d9ff0a94f4f820692f375a Mon Sep 17 00:00:00 2001 From: Kevin Ottens Date: Tue, 18 Aug 2020 22:15:31 +0200 Subject: [PATCH] Enable all the other bugprone clang-tidy checks Signed-off-by: Kevin Ottens --- .clang-tidy | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.clang-tidy b/.clang-tidy index 436a6c7de..6028c4390 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,11 +1,5 @@ Checks: '-*, - bugprone-argument-comment, - bugprone-branch-clone, - bugprone-forward-declaration-namespace, - bugprone-macro-parentheses, - bugprone-narrowing-conversions, - bugprone-too-small-loop-variable, - bugprone-terminating-continue, + bugprone-*, cppcoreguidelines-init-variables, misc-*, -misc-non-private-member-variables-in-classes, @@ -40,5 +34,11 @@ HeaderFilterRegex: '.*' AnalyzeTemporaryDtors: false FormatStyle: none CheckOptions: + - key: bugprone-assert-side-effect.AssertMacros + value: 'assert;Q_ASSERT' + - key: bugprone-dangling-handle.HandleClasses + value: 'std::basic_string_view;std::experimental::basic_string_view;QStringView' + - key: bugprone-sizeof-expression.WarnOnSizeOfIntegerExpression + value: 1 - key: modernize-use-default-member-init.UseAssignment value: 1 -- 2.30.2