blob: 20c4e46d8cce2ac1062ea680136efdf373d5468d (
plain)
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
|
# .clang-format -*- mode: yaml; lexical-binding: t; -*-
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: true
AlignConsecutiveBitFields: true
AlignConsecutiveMacros: true
AlignEscapedNewlines: true
AllowShortFunctionsOnASingleLine: false
AllowShortLambdasOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakTemplateDeclarations: Yes
BasedOnStyle: LLVM
BreakBeforeBraces: Custom
BraceWrapping:
AfterEnum: true
AfterStruct: true
AfterFunction: true
AfterNamespace: true
AfterClass: true
AfterUnion: true
AfterControlStatement: true
AfterExternBlock: true
BeforeLambdaBody: true
BeforeCatch: true
BeforeElse: true
SplitEmptyFunction: true
IndentBraces: false
ColumnLimit: 80
IndentWidth: 2
NamespaceIndentation: All
|