Welcome to mirror list, hosted at ThFree Co, Russian Federation.

.clang-format « libmv « intern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fae0530c572a614a1b6adc57d055cbe800a51cc4 (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
31
32
33
34
BasedOnStyle: Google

ColumnLimit: 80

Standard: Cpp11

# Indent nested preprocessor.
# #ifdef Foo
# #  include <nested>
# #endif
IndentPPDirectives: AfterHash

# For the cases when namespace is closing with a wrong comment
FixNamespaceComments: true

AllowShortFunctionsOnASingleLine: InlineOnly
AllowShortBlocksOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: true

# No bin packing, every argument is on its own line.
BinPackArguments: false
BinPackParameters: false

# Ensure pointer alignment.
# ObjectType* object;
PointerAlignment: Left
DerivePointerAlignment: false

AlignEscapedNewlines: Right

IncludeBlocks: Preserve
SortIncludes: true