blob: e5011d2d1fc2d87d55b5ad4a7667540d3ea39388 [file] [log] [blame]
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -08001# This style requires customized clang-format from https://github.com/cawka/clang
2#
3BasedOnStyle: GNU
4---
5Language: Cpp
6AlwaysBreakAfterDefinitionReturnType: true
7AlwaysBreakAfterDeclarationReturnType: true
8ColumnLimit: 100
9SpaceBeforeParens: ControlStatements
10Cpp11BracedListStyle: true
11BreakBeforeBraces: Stroustrup
12PointerAlignment: Left
13PenaltyReturnTypeOnItsOwnLine: 0
14AllowShortBlocksOnASingleLine: false
15# AllowShortCaseLabelsOnASingleLine: false
16AllowShortFunctionsOnASingleLine: false
17AllowShortIfStatementsOnASingleLine: false
18AllowShortLoopsOnASingleLine: false
19
20BreakConstructorInitializersBeforeComma: true
21NamespaceIndentation: None
22Standard: Cpp11
23
24AlwaysBreakTemplateDeclarations: true
25IndentWidth: 2
26PenaltyBreakBeforeFirstCallParameter: 500
27SpacesBeforeTrailingComments: 1
28UseTab: Never
29ConstructorInitializerIndentWidth: 2
30
31SpaceBetweenTemplateAndOpeningAngle: false
32BreakBeforeBinaryOperators: NonAssignment
33ContinuationIndentWidth: 2