1
0
Fork 0
readarg/.clang-format

42 lines
933 B
Text
Raw Permalink Normal View History

2021-02-08 17:07:25 +01:00
BasedOnStyle: LLVM
2022-12-04 11:48:34 +01:00
ColumnLimit: 240
2022-12-04 11:48:34 +01:00
IndentWidth: 4
UseTab: Never
ReflowComments: true
SortIncludes: true
2021-02-08 17:07:25 +01:00
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^<.*>$'
Priority: 1
- Regex: '^".*"$'
Priority: 2
2022-12-04 11:48:34 +01:00
AlignConsecutiveMacros: true
AlignEscapedNewlines: Left
2021-02-08 17:07:25 +01:00
IndentCaseLabels: false
PointerAlignment: Right
2022-12-04 11:48:34 +01: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 17:07:25 +01:00
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false