-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.clang-format
More file actions
34 lines (32 loc) · 742 Bytes
/
Copy path.clang-format
File metadata and controls
34 lines (32 loc) · 742 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
---
# We'll use defaults from the LLVM style, but with 4 columns indentation.
BasedOnStyle: LLVM
---
Language: Cpp
# Force pointers to the type for C++.
ColumnLimit: 128
IndentWidth: 4
NamespaceIndentation: All
AccessModifierOffset: -4
DerivePointerAlignment: false
PointerAlignment: Left
BreakBeforeBraces: Allman
BinPackArguments: false
BinPackParameters: false
AlwaysBreakTemplateDeclarations: Yes
SortIncludes: false
AllowAllArgumentsOnNextLine: false
# AllowShortBlocksOnASingleLine: Always
# AllowShortCaseLabelsOnASingleLine: false
---
Language: JavaScript
# Use 100 columns for JS.
ColumnLimit: 100
---
Language: Proto
# Don't format .proto files.
DisableFormat: true
---
Language: CSharp
# Use 100 columns for C#.
ColumnLimit: 100