Do not break backward compatibility during wallet encryption
[bitcoinplatinum.git] / src / .clang-format
blobfc53509138fad0ad50144b8210ff23a90b155db0
1 Language:        Cpp
2 AccessModifierOffset: -4
3 AlignAfterOpenBracket: false
4 AlignEscapedNewlinesLeft: true
5 AlignTrailingComments: true
6 AllowAllParametersOfDeclarationOnNextLine: false
7 AllowShortBlocksOnASingleLine: false
8 AllowShortFunctionsOnASingleLine: All
9 AllowShortIfStatementsOnASingleLine: true
10 AllowShortLoopsOnASingleLine: false
11 AlwaysBreakBeforeMultilineStrings: false
12 AlwaysBreakTemplateDeclarations: true
13 BinPackParameters: false
14 BreakBeforeBinaryOperators: false
15 BreakBeforeBraces: Linux
16 BreakBeforeTernaryOperators: false
17 BreakConstructorInitializersBeforeComma: false
18 ColumnLimit:     0
19 CommentPragmas:  '^ IWYU pragma:'
20 ConstructorInitializerAllOnOneLineOrOnePerLine: false
21 ConstructorInitializerIndentWidth: 4
22 ContinuationIndentWidth: 4
23 Cpp11BracedListStyle: true
24 DerivePointerAlignment: false
25 DisableFormat:   false
26 ForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH, BOOST_REVERSE_FOREACH ]
27 IndentCaseLabels: false
28 IndentFunctionDeclarationAfterType: false
29 IndentWidth:     4
30 KeepEmptyLinesAtTheStartOfBlocks: false
31 MaxEmptyLinesToKeep: 2
32 NamespaceIndentation: None
33 ObjCSpaceAfterProperty: false
34 ObjCSpaceBeforeProtocolList: false
35 PenaltyBreakBeforeFirstCallParameter: 1
36 PenaltyBreakComment: 300
37 PenaltyBreakFirstLessLess: 120
38 PenaltyBreakString: 1000
39 PenaltyExcessCharacter: 1000000
40 PenaltyReturnTypeOnItsOwnLine: 200
41 PointerAlignment: Left
42 SpaceBeforeAssignmentOperators: true
43 SpaceBeforeParens: ControlStatements
44 SpaceInEmptyParentheses: false
45 SpacesBeforeTrailingComments: 1
46 SpacesInAngles:  false
47 SpacesInContainerLiterals: true
48 SpacesInCStyleCastParentheses: false
49 SpacesInParentheses: false
50 Standard:        Cpp03
51 TabWidth:        8
52 UseTab:          Never