forked from eressea/server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
49 lines (48 loc) · 1.41 KB
/
.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
BasedOnStyle: WebKit
# last sync revision 197552
AccessModifierOffset: 0
AlignEscapedNewlinesLeft: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortFunctionsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
# AlwaysBreakBeforeMultilineStrings:
AlwaysBreakTemplateDeclarations: true
BinPackParameters: false
BreakBeforeBinaryOperators: false
BreakBeforeBraces: Linux
# BreakBeforeTernaryOperators:
BreakConstructorInitializersBeforeComma: false
ColumnLimit: 79
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 0
ContinuationIndentWidth: 4
Cpp11BracedListStyle: false
# DerivePointerBinding:
# ExperimentalAutoDetectBinPacking:
IndentCaseLabels: true
# IndentFunctionDeclarationAfterType:
IndentWidth: 4
# Language: Cpp
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
# ObjCSpaceBeforeProtocolList:
# PenaltyBreakBeforeFirstCallParameter:
# PenaltyBreakComment:
# PenaltyBreakFirstLessLess:
# PenaltyBreakString:
# PenaltyExcessCharacter:
# PenaltyReturnTypeOnItsOwnLine:
PointerBindsToType: true
SpaceAfterControlStatementKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
Standard: Cpp03
TabWidth: 4
UseTab: Never