mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
Update clang-format.
This commit is contained in:
@@ -11,7 +11,7 @@ AllowAllParametersOfDeclarationOnNextLine: false
|
|||||||
AllowShortBlocksOnASingleLine: true
|
AllowShortBlocksOnASingleLine: true
|
||||||
AllowShortCaseLabelsOnASingleLine: true
|
AllowShortCaseLabelsOnASingleLine: true
|
||||||
AllowShortFunctionsOnASingleLine: All
|
AllowShortFunctionsOnASingleLine: All
|
||||||
AllowShortIfStatementsOnASingleLine: true
|
AllowShortIfStatementsOnASingleLine: Always
|
||||||
AllowShortLoopsOnASingleLine: true
|
AllowShortLoopsOnASingleLine: true
|
||||||
AlwaysBreakAfterDefinitionReturnType: None
|
AlwaysBreakAfterDefinitionReturnType: None
|
||||||
AlwaysBreakAfterReturnType: None
|
AlwaysBreakAfterReturnType: None
|
||||||
@@ -58,12 +58,24 @@ ForEachMacros:
|
|||||||
- BOOST_FOREACH
|
- BOOST_FOREACH
|
||||||
IncludeBlocks: Regroup
|
IncludeBlocks: Regroup
|
||||||
IncludeCategories:
|
IncludeCategories:
|
||||||
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
|
- Regex: '^(<winsock2.h>)'
|
||||||
Priority: 2
|
Priority: -3
|
||||||
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
|
SortPriority: -4
|
||||||
Priority: 3
|
- Regex: '^(<windows.h>)'
|
||||||
- Regex: '.*'
|
Priority: -3
|
||||||
|
SortPriority: -3
|
||||||
|
- Regex: '^(<aaruformat.h>)'
|
||||||
Priority: 1
|
Priority: 1
|
||||||
|
SortPriority: -1
|
||||||
|
- Regex: '^(<.*)'
|
||||||
|
Priority: -2
|
||||||
|
SortPriority: -2
|
||||||
|
- Regex: '^("(win32|windows))'
|
||||||
|
Priority: 1
|
||||||
|
SortPriority: -1
|
||||||
|
- Regex: '.*'
|
||||||
|
Priority: 0
|
||||||
|
SortPriority: 0
|
||||||
IncludeIsMainRegex: '(Test)?$'
|
IncludeIsMainRegex: '(Test)?$'
|
||||||
IndentCaseLabels: true
|
IndentCaseLabels: true
|
||||||
IndentPPDirectives: None
|
IndentPPDirectives: None
|
||||||
|
|||||||
Reference in New Issue
Block a user