mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-14 03:17:05 +00:00
5e5627cd0b
Signed-off-by: Hector Martin <marcan@marcan.st>
29 lines
820 B
YAML
29 lines
820 B
YAML
BasedOnStyle: LLVM
|
|
IndentWidth: 4
|
|
UseTab: Never
|
|
BreakBeforeBraces: Linux
|
|
AllowShortIfStatementsOnASingleLine: Never
|
|
AllowShortFunctionsOnASingleLine: false
|
|
AlignConsecutiveMacros: true
|
|
IndentCaseLabels: true
|
|
ColumnLimit: 100
|
|
IncludeBlocks: Regroup
|
|
|
|
# Include block order goes like this
|
|
# - config.h style files, including ../config.h
|
|
# - system headers (<>)
|
|
# - All m1n1 headers, starting with the "this file" header, rest sorted
|
|
# - 3rd party code headers
|
|
# - build artifact headers (stuff outside of src/)
|
|
IncludeCategories:
|
|
- Regex: '^"(\.\./)*config\.h"$'
|
|
Priority: -2
|
|
- Regex: '^<'
|
|
Priority: -1
|
|
- Regex: '^"\.\./'
|
|
Priority: 3
|
|
- Regex: '/'
|
|
Priority: 2
|
|
- Regex: '.*'
|
|
Priority: 0
|
|
SortPriority: 1
|