.clang-format
26 lines
| 637 B
| text/plain
|
TextLexer
/ formatting / .clang-format
r4 | --- | |||
# See http://clang.llvm.org/docs/ClangFormatStyleOptions.html for a definition | ||||
# of the options | ||||
Language: Cpp | ||||
BasedOnStyle: LLVM | ||||
# Line length | ||||
ColumnLimit: 100 | ||||
# Indent with 4 spaces | ||||
IndentWidth: 4 | ||||
AccessModifierOffset: -4 # -IndentWidth | ||||
ConstructorInitializerIndentWidth: 8 # 2 * IndentWidth | ||||
# Break only before function braces | ||||
BreakBeforeBraces: Stroustrup | ||||
AllowShortFunctionsOnASingleLine: Inline | ||||
AlwaysBreakTemplateDeclarations: true | ||||
AlwaysBreakBeforeMultilineStrings: true | ||||
BreakBeforeBinaryOperators: true | ||||
ConstructorInitializerAllOnOneLineOrOnePerLine: true | ||||
IndentCaseLabels: true | ||||
MaxEmptyLinesToKeep: 2 | ||||
Standard: Cpp03 | ||||