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