readarg/.clang-format

42 lines
933 B
Plaintext
Raw Normal View History

2021-02-08 16:07:25 +00:00
BasedOnStyle: LLVM
2022-12-04 10:48:34 +00:00
ColumnLimit: 240
2022-12-04 10:48:34 +00:00
IndentWidth: 4
UseTab: Never
ReflowComments: true
SortIncludes: true
2021-02-08 16:07:25 +00:00
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^<.*>$'
Priority: 1
- Regex: '^".*"$'
Priority: 2
2022-12-04 10:48:34 +00:00
AlignConsecutiveMacros: true
AlignEscapedNewlines: Left
2021-02-08 16:07:25 +00:00
IndentCaseLabels: false
PointerAlignment: Right
2022-12-04 10:48:34 +00:00
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: None
BreakBeforeBinaryOperators: All
BreakBeforeTernaryOperators: true
BreakStringLiterals: false
BreakBeforeBraces: Attach
SpaceBeforeParens: ControlStatementsExceptControlMacros
2021-02-08 16:07:25 +00:00
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false