-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.clang-format
More file actions
27 lines (27 loc) · 995 Bytes
/
Copy path.clang-format
File metadata and controls
27 lines (27 loc) · 995 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
---
### General config, applies to all languages ###
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveAssignments: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: false
BreakBeforeBraces: Allman
ColumnLimit: 90
FixNamespaceComments: false
IndentCaseLabels: true
IndentWidth: 4
PenaltyBreakComment: 10000000
PointerAlignment: Middle
SpaceBeforeParens: Never
SpacesInParentheses: true
TabWidth: 4
UseTab: Never
---
### C++ specific config ###
Language: Cpp
Standard: c++17
Cpp11BracedListStyle: false
NamespaceIndentation: None
CompactNamespaces: true
SpacesInAngles: false
SpaceAfterTemplateKeyword: false