forked from UMich-CURLY/drift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
35 lines (32 loc) · 858 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
33
34
35
---
# options: https://clang.llvm.org/docs/ClangFormatStyleOptions.html
BasedOnStyle: Google
IndentWidth: 2
# No tabs
UseTab: Never
ColumnLimit: 80
Language: Cpp
# Pointer to the left
DerivePointerAlignment: false
PointerAlignment: Left
AlignAfterOpenBracket: Align
AlignTrailingComments: true
SpacesBeforeTrailingComments: 4
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: None
Cpp11BracedListStyle: true
IndentCaseLabels: true
FixNamespaceComments: true
MaxEmptyLinesToKeep: 2
NamespaceIndentation: None
KeepEmptyLinesAtTheStartOfBlocks: false
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: false
ReflowComments: true
SpaceAfterCStyleCast: true
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: false
AlignOperands: true
BreakBeforeBinaryOperators: true
IncludeBlocks: Preserve