33 lines
935 B
YAML
33 lines
935 B
YAML
# Logic style
|
|
Language: Cpp
|
|
# manually added flags
|
|
FixNamespaceComments: 'false'
|
|
SortIncludes: 'false'
|
|
|
|
|
|
# flags copied from web editor, https://zed0.co.uk/clang-format-configurator/
|
|
AllowShortBlocksOnASingleLine: 'false'
|
|
AllowShortCaseLabelsOnASingleLine: 'false'
|
|
AllowShortFunctionsOnASingleLine: None
|
|
AllowShortIfStatementsOnASingleLine: 'false'
|
|
AllowShortLoopsOnASingleLine: 'false'
|
|
AlwaysBreakAfterReturnType: None
|
|
AlwaysBreakTemplateDeclarations: 'true'
|
|
BreakBeforeBraces: Allman
|
|
ColumnLimit: '140'
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: 'true'
|
|
ContinuationIndentWidth: '4'
|
|
Cpp11BracedListStyle: 'false'
|
|
IndentWidth: '4'
|
|
KeepEmptyLinesAtTheStartOfBlocks: 'false'
|
|
MaxEmptyLinesToKeep: '2'
|
|
NamespaceIndentation: All
|
|
PointerAlignment: Left
|
|
SpaceBeforeParens: Never
|
|
SpaceInEmptyParentheses: 'false'
|
|
SpacesInCStyleCastParentheses: 'true'
|
|
SpacesInParentheses: 'true'
|
|
SpacesInSquareBrackets: 'true'
|
|
TabWidth: '4'
|
|
UseTab: Never
|