2021-01-12 18:22:11 +00:00
|
|
|
BasedOnStyle: LLVM
|
|
|
|
IndentWidth: 4
|
|
|
|
UseTab: Never
|
|
|
|
BreakBeforeBraces: Linux
|
|
|
|
AllowShortIfStatementsOnASingleLine: Never
|
|
|
|
AllowShortFunctionsOnASingleLine: false
|
2021-01-28 06:21:28 +00:00
|
|
|
AlignConsecutiveMacros: true
|
2021-01-12 18:22:11 +00:00
|
|
|
IndentCaseLabels: true
|
2021-01-28 06:21:28 +00:00
|
|
|
ColumnLimit: 100
|
2021-02-06 05:46:16 +00:00
|
|
|
IncludeBlocks: Regroup
|
2021-05-04 06:38:17 +00:00
|
|
|
IncludeIsMainRegex: '(_.*)?$'
|
2021-02-06 05:46:16 +00:00
|
|
|
|
|
|
|
# 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:
|
2022-03-09 11:47:42 +00:00
|
|
|
- Regex: '^"(\.\./)*build/build_.*\.h"$'
|
|
|
|
Priority: -3
|
2021-02-06 05:46:16 +00:00
|
|
|
- Regex: '^"(\.\./)*config\.h"$'
|
|
|
|
Priority: -2
|
|
|
|
- Regex: '^<'
|
|
|
|
Priority: -1
|
|
|
|
- Regex: '^"\.\./'
|
|
|
|
Priority: 3
|
|
|
|
- Regex: '/'
|
|
|
|
Priority: 2
|
|
|
|
- Regex: '.*'
|
|
|
|
Priority: 0
|
|
|
|
SortPriority: 1
|