chore: adjust clang-format & clang-tidy

This commit is contained in:
Curve 2021-02-15 21:08:01 +01:00
parent a72793abdf
commit cc9f1ce0eb
No known key found for this signature in database
GPG Key ID: 460F6C466BD35813
2 changed files with 3 additions and 19 deletions

View File

@ -61,23 +61,6 @@ DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 2
SortPriority: 0
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
Priority: 3
SortPriority: 0
- Regex: '.*'
Priority: 1
SortPriority: 0
IncludeIsMainRegex: '(Test)?$'
IncludeIsMainSourceRegex: ''
IndentCaseLabels: false
IndentGotoLabels: true
IndentPPDirectives: None
@ -104,7 +87,7 @@ PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 1000
PointerAlignment: Right
ReflowComments: true
SortIncludes: false
SortIncludes: true
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false

View File

@ -49,4 +49,5 @@ Checks: "*,\
-cppcoreguidelines-non-private-member-variables-in-classes,\
-cppcoreguidelines-pro-type-union-access,\
-readability-static-accessed-through-instance,\
-cppcoreguidelines-special-member-functions"
-cppcoreguidelines-special-member-functions,\
-readability-isolate-declaration"