-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.clang-format
More file actions
39 lines (39 loc) · 986 Bytes
/
.clang-format
File metadata and controls
39 lines (39 loc) · 986 Bytes
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
# Format Style Options - Created with Clang Power Tools
---
BasedOnStyle: LLVM
AccessModifierOffset: -4
AlignAfterOpenBracket: AlwaysBreak
AlignEscapedNewlines: Left
AlignOperands: false
AlignTrailingComments: false
AllowShortLambdasOnASingleLine: None
AllowShortFunctionsOnASingleLine: None
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: No
BraceWrapping:
AfterCaseLabel: true
BreakInheritanceList: AfterColon
BreakBeforeTernaryOperators: false
BreakConstructorInitializers: AfterColon
ColumnLimit: 120
IncludeCategories:
- Regex: ^"codepad/.+"$
Priority: 4
- Regex: ^".+"$
Priority: 5
- Regex: ^<codepad/.+>$
Priority: 3
- Regex: ^<.+\.(h|hpp)>$
Priority: 2
- Regex: ^<.+>$
Priority: 1
IndentPPDirectives: AfterHash
IndentWidth: 4
IndentWrappedFunctionNames: true
KeepEmptyLinesAtTheStartOfBlocks: false
MaxEmptyLinesToKeep: 2
NamespaceIndentation: All
Standard: Latest
TabWidth: 4
UseTab: ForContinuationAndIndentation
...