-
Notifications
You must be signed in to change notification settings - Fork 69
/
.clang-format
24 lines (24 loc) · 713 Bytes
/
.clang-format
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
BasedOnStyle: WebKit
Language: Cpp
AlignArrayOfStructures: Left
AlignAfterOpenBracket: Align
AlignOperands: 'true'
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: 'true'
AllowShortLoopsOnASingleLine: 'true'
AlwaysBreakAfterDefinitionReturnType: None
BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: 'false'
BreakConstructorInitializersBeforeComma: 'false'
ConstructorInitializerAllOnOneLineOrOnePerLine: 'false'
Cpp11BracedListStyle: 'true'
DerivePointerAlignment: false
IndentCaseLabels: 'true'
PointerAlignment: Left
SpaceAfterCStyleCast: 'true'
SpaceInEmptyParentheses: 'false'
SpacesBeforeTrailingComments: '2'
Standard: Cpp11
UseTab: Never
...