blob: f86b5964a113001e674c37d1875f4088bbf49e74 [file] [log] [blame]
spirosmastorakisa4b66b92016-01-24 13:28:38 -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