-
Notifications
You must be signed in to change notification settings - Fork 377
Expand file tree
/
Copy path.clang-format
More file actions
31 lines (30 loc) · 954 Bytes
/
.clang-format
File metadata and controls
31 lines (30 loc) · 954 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
BasedOnStyle: Google
DerivePointerAlignment: false
IncludeBlocks: Preserve
AttributeMacros: ["noexcept"]
IndentRequiresClause: false
ColumnLimit: 120
IndentWidth: 4
TabWidth: 4
AccessModifierOffset: -4
BinPackParameters: false
BinPackArguments: false
AlignAfterOpenBracket: BlockIndent
AlwaysBreakAfterDefinitionReturnType: None
AllowAllParametersOfDeclarationOnNextLine: false
AllowAllArgumentsOnNextLine: false
BreakBeforeBraces: Custom
BraceWrapping:
AfterControlStatement: MultiLine
PenaltyBreakOpenParenthesis: 5000000
PenaltyIndentedWhitespace: 100000
PenaltyBreakFirstLessLess: 0
PenaltyBreakScopeResolution: 20000000
PenaltyBreakAssignment: 10000
PenaltyExcessCharacter: 1000000000
PenaltyBreakBeforeFirstCallParameter: 1
PenaltyReturnTypeOnItsOwnLine: 10000000
InsertBraces: true
IndentWrappedFunctionNames: false
# Use unpatched ContinuationIndenter, remove this line if you use vanilla clang-format code
VanillaContinuationIndenter: true