-
Notifications
You must be signed in to change notification settings - Fork 0
/
_clang-format
33 lines (32 loc) · 943 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
25
26
27
28
29
30
31
32
# --------------------------------------------
# neg4n's clang-format configuration.
# github.com/neg4n
# --------------------------------------------
---
BasedOnStyle: LLVM
Language: Cpp
TabWidth: 2
ColumnLimit: 110
UseTab: Never
AllowAllParametersOfDeclarationOnNextLine: false
AlignConsecutiveDeclarations: true
BinPackArguments: false
BinPackParameters: false
Cpp11BracedListStyle: false
ExperimentalAutoDetectBinPacking: false
IndentCaseLabels: true
NamespaceIndentation: All
PointerAlignment: Middle
SortUsingDeclarations: false
SpaceAfterTemplateKeyword: true
SpaceBeforeCpp11BracedList: true
SpaceInEmptyParentheses: true
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInParentheses: true
AlignConsecutiveAssignments: true
SpacesInSquareBrackets: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortBlocksOnASingleLine: "Never"
AlwaysBreakTemplateDeclarations: "MultiLine"
AlignEscapedNewlines: "Left"