Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Akonadi
Commits
4f755351
Verified
Commit
4f755351
authored
Jun 03, 2020
by
Daniel Vrátil
🤖
Browse files
Fix clang-tidy configuration
parent
39d677f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
.clang-tidy
View file @
4f755351
...
...
@@ -37,19 +37,19 @@ Checks: -*,
AnalyzeTemporaryDtors: true
CheckOptions:
- key: bugprone-assert-side-effects.AssertMacros
value: 'Q_ASSERT'
value: 'Q_ASSERT
;QVERIFY;QCOMPARE;AKVERIFY
'
- key: CheckFunctionCalls
value: true
- key: StringCompareLikeFuctions
value: QString::compare;QString::localeAwareCompare
value:
'
QString::compare;QString::localeAwareCompare
'
- key: WarnOnSizeOfIntegerExpression
value: 1
- key: bugprone-dangling-handle.HandleClasses
value: std::string_view;QStringView
value:
'
std::string_view;QStringView
'
- key: IgnoreClassesWithAllMemberVariablesBeingPublic
value: true
- key: VectorLikeClasses
value: std::vector;QVector
value:
'
std::vector;QVector
'
WarningsAsErrors: bugprone-*,
clang-*,
google-*,
...
...
@@ -58,3 +58,4 @@ WarningsAsErrors: bugprone-*,
readability-*,
-readability-magic-numbers,
-readability-make-member-function-const
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment