-
-
Notifications
You must be signed in to change notification settings - Fork 400
Expand file tree
/
Copy path.clang-format
More file actions
24 lines (24 loc) · 727 Bytes
/
.clang-format
File metadata and controls
24 lines (24 loc) · 727 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
---
# This configuration requires clang-format 3.8 or higher.
BasedOnStyle: Mozilla
AlignAfterOpenBracket: DontAlign
AlignOperands: false
AllowShortFunctionsOnASingleLine: None
AlwaysBreakAfterReturnType: None
AlwaysBreakAfterDefinitionReturnType: None
BreakBeforeBraces: Allman
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
BeforeLambdaBody: true
ColumnLimit: 100
InsertBraces: true
# Note that on versions after 4.0 you need to specify
# SpaceAfterTemplateKeyword: true
# which is not an option prior to 4.0. Later versions
# of clang may produce results different from 3.8.
# For your commits to be compatible with clang 3.8
# you are best off running clang-format 3.8 on your
# system
Standard: Cpp11
...