mirror of
https://github.com/aaru-dps/aaruremote.git
synced 2025-12-16 19:24:37 +00:00
Fix Windows header sorting in clangformat.
This commit is contained in:
@@ -57,15 +57,22 @@ ForEachMacros:
|
|||||||
- Q_FOREACH
|
- Q_FOREACH
|
||||||
- BOOST_FOREACH
|
- BOOST_FOREACH
|
||||||
IncludeBlocks: Regroup
|
IncludeBlocks: Regroup
|
||||||
IncludeCategories:
|
IncludeCategories:
|
||||||
|
- Regex: '^(<winsock2.h>)'
|
||||||
|
Priority: -3
|
||||||
|
SortPriority: -4
|
||||||
- Regex: '^(<windows.h>)'
|
- Regex: '^(<windows.h>)'
|
||||||
Priority: -3
|
Priority: -3
|
||||||
- Regex: '^("(win32|windows))'
|
SortPriority: -3
|
||||||
Priority: -2
|
|
||||||
- Regex: '^(<.*)'
|
- Regex: '^(<.*)'
|
||||||
Priority: -1
|
Priority: -2
|
||||||
|
SortPriority: -2
|
||||||
|
- Regex: '^("(win32|windows))'
|
||||||
|
Priority: 1
|
||||||
|
SortPriority: -1
|
||||||
- Regex: '.*'
|
- Regex: '.*'
|
||||||
Priority: 1
|
Priority: 1
|
||||||
|
SortPriority: 1
|
||||||
IncludeIsMainRegex: '(Test)?$'
|
IncludeIsMainRegex: '(Test)?$'
|
||||||
IndentCaseLabels: true
|
IndentCaseLabels: true
|
||||||
IndentPPDirectives: None
|
IndentPPDirectives: None
|
||||||
|
|||||||
Reference in New Issue
Block a user