Verified Commit 4f755351 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

Fix clang-tidy configuration

parent 39d677f8
...@@ -37,19 +37,19 @@ Checks: -*, ...@@ -37,19 +37,19 @@ Checks: -*,
AnalyzeTemporaryDtors: true AnalyzeTemporaryDtors: true
CheckOptions: CheckOptions:
- key: bugprone-assert-side-effects.AssertMacros - key: bugprone-assert-side-effects.AssertMacros
value: 'Q_ASSERT' value: 'Q_ASSERT;QVERIFY;QCOMPARE;AKVERIFY'
- key: CheckFunctionCalls - key: CheckFunctionCalls
value: true value: true
- key: StringCompareLikeFuctions - key: StringCompareLikeFuctions
value: QString::compare;QString::localeAwareCompare value: 'QString::compare;QString::localeAwareCompare'
- key: WarnOnSizeOfIntegerExpression - key: WarnOnSizeOfIntegerExpression
value: 1 value: 1
- key: bugprone-dangling-handle.HandleClasses - key: bugprone-dangling-handle.HandleClasses
value: std::string_view;QStringView value: 'std::string_view;QStringView'
- key: IgnoreClassesWithAllMemberVariablesBeingPublic - key: IgnoreClassesWithAllMemberVariablesBeingPublic
value: true value: true
- key: VectorLikeClasses - key: VectorLikeClasses
value: std::vector;QVector value: 'std::vector;QVector'
WarningsAsErrors: bugprone-*, WarningsAsErrors: bugprone-*,
clang-*, clang-*,
google-*, google-*,
...@@ -58,3 +58,4 @@ WarningsAsErrors: bugprone-*, ...@@ -58,3 +58,4 @@ WarningsAsErrors: bugprone-*,
readability-*, readability-*,
-readability-magic-numbers, -readability-magic-numbers,
-readability-make-member-function-const -readability-make-member-function-const
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment