.clang-format
26 lines
| 613 B
| text/plain
|
TextLexer
r4 | --- | |||
# See http://clang.llvm.org/docs/ClangFormatStyleOptions.html for a definition | ||||
# of the options | ||||
Language: Cpp | ||||
r1365 | BasedOnStyle: WebKit | |||
r4 | ||||
# Line length | ||||
ColumnLimit: 100 | ||||
# Indent with 4 spaces | ||||
IndentWidth: 4 | ||||
AccessModifierOffset: -4 # -IndentWidth | ||||
ConstructorInitializerIndentWidth: 8 # 2 * IndentWidth | ||||
r1365 | BreakBeforeBraces: Allman | |||
r4 | ||||
AllowShortFunctionsOnASingleLine: Inline | ||||
AlwaysBreakTemplateDeclarations: true | ||||
AlwaysBreakBeforeMultilineStrings: true | ||||
BreakBeforeBinaryOperators: true | ||||
ConstructorInitializerAllOnOneLineOrOnePerLine: true | ||||
IndentCaseLabels: true | ||||
MaxEmptyLinesToKeep: 2 | ||||
r1365 | Standard: Cpp11 | |||
UseTab: Never | ||||
r4 | ||||