-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-format
More file actions
38 lines (34 loc) · 821 Bytes
/
.clang-format
File metadata and controls
38 lines (34 loc) · 821 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
---
BasedOnStyle: LLVM
IndentWidth: 4
TabWidth: 4
UseTab: Never
ColumnLimit: 100
Language: Cpp
Standard: c++20
AllowShortBlocksOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
AlwaysBreakTemplateDeclarations: Yes
AlignTrailingComments: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterFunction: true
AfterClass: true
AfterControlStatement: false
AfterEnum: false
AfterNamespace: false
AfterStruct: true
BeforeCatch: false
BeforeElse: false
# Multiplatform compatibility settings
IncludeBlocks: Preserve
SortIncludes: false
FixNamespaceComments: true
CompactNamespaces: false
PointerAlignment: Left
ReferenceAlignment: Pointer
AccessModifierOffset: -2
DeriveLineEnding: false
UseCRLF: false