-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.clang-format
More file actions
23 lines (21 loc) · 606 Bytes
/
.clang-format
File metadata and controls
23 lines (21 loc) · 606 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
BasedOnStyle: Google
ColumnLimit: 80
Cpp11BracedListStyle: true
IndentWidth: 4
TabWidth: 4
BreakBeforeBraces: Allman
MaxEmptyLinesToKeep: 1
SpaceBeforeAssignmentOperators: true
Standard: "c++20"
UseTab: ForIndentation
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
AllowShortLambdasOnASingleLine: All
AllowShortCaseLabelsOnASingleLine: true
AllowShortEnumsOnASingleLine: true
PackConstructorInitializers: Never
# Indent preprocessor directives
IndentPPDirectives: BeforeHash
# Do not indent access modifiers
IndentAccessModifiers: false
AccessModifierOffset: -4