mirror of
https://github.com/reactos/CMake.git
synced 2024-11-27 05:20:34 +00:00
a8aa89352a
The rule Regex: '^<' was not applied to this header because a more specific one applies: Regex: '^(<|")Qt?[A-Z]' used for Qt headers (rules are not case-sensitive). So adding a specific rule for this header before the Qt rule is required.
48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
---
|
|
# This configuration requires clang-format version 6.0 exactly.
|
|
BasedOnStyle: Mozilla
|
|
AlignOperands: false
|
|
AllowShortFunctionsOnASingleLine: InlineOnly
|
|
AlwaysBreakAfterDefinitionReturnType: None
|
|
AlwaysBreakAfterReturnType: None
|
|
BinPackArguments: true
|
|
BinPackParameters: true
|
|
BraceWrapping:
|
|
AfterClass: true
|
|
AfterEnum: true
|
|
AfterFunction: true
|
|
AfterStruct: true
|
|
AfterUnion: true
|
|
BreakBeforeBraces: Custom
|
|
ColumnLimit: 79
|
|
IndentPPDirectives: AfterHash
|
|
SortUsingDeclarations: false
|
|
SpaceAfterTemplateKeyword: true
|
|
IncludeBlocks: Regroup
|
|
IncludeCategories:
|
|
- Regex: '^[<"]cmConfigure\.h'
|
|
Priority: -1
|
|
- Regex: '^<queue>'
|
|
Priority: 1
|
|
- Regex: '^(<|")cm(ext)?/'
|
|
Priority: 2
|
|
- Regex: '^(<|")windows\.h'
|
|
Priority: 3
|
|
- Regex: '^<sys/'
|
|
Priority: 5
|
|
- Regex: '^(<|")Qt?[A-Z]'
|
|
Priority: 6
|
|
- Regex: '^(<|")cmsys/'
|
|
Priority: 7
|
|
- Regex: '^(<|")cm_'
|
|
Priority: 8
|
|
- Regex: '^(<|")cm[A-Z][^.]+\.h'
|
|
Priority: 9
|
|
- Regex: '^<[^.]+\.h'
|
|
Priority: 4
|
|
- Regex: '^<'
|
|
Priority: 1
|
|
- Regex: '.*'
|
|
Priority: 10
|
|
...
|