forked from ebattenberg/nmf-cuda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
33 lines (32 loc) · 927 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
AccessModifierOffset: 0
AlignConsecutiveAssignments: false
AlignAfterOpenBracket: BlockIndent
AlignTrailingComments: true
# Inline = only inline short functions in classes or if empty
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: false
BreakBeforeBinaryOperators: false
BreakBeforeBraces: Attach
BreakBeforeTernaryOperators: false
ColumnLimit: 120
IndentCaseLabels: true
IndentWidth: 4
Language: Cpp
MaxEmptyLinesToKeep: 2
NamespaceIndentation: All
PointerBindsToType: false
SpaceAfterCStyleCast: true
SpaceBeforeParens: Never
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInCStyleCastParentheses: false
SpacesInAngles: false
SpacesInParentheses: false
SpacesInContainerLiterals: false
SpacesInSquareBrackets: false
Standard: c++14
TabWidth: 4
UseTab: Never