DALi Version 2.3.14
[platform/core/uifw/dali-csharp-binder.git] / .clang-format
1 ---
2 Language:        Cpp
3 BasedOnStyle:  Google
4 AccessModifierOffset: -2
5 AlignAfterOpenBracket: Align
6 AlignConsecutiveAssignments: true
7 AlignConsecutiveDeclarations: true
8 AlignEscapedNewlinesLeft: true
9 AlignOperands:   true
10 AlignTrailingComments: true
11 AllowAllParametersOfDeclarationOnNextLine: true
12 AllowShortBlocksOnASingleLine: false
13 AllowShortCaseLabelsOnASingleLine: false
14 AllowShortFunctionsOnASingleLine: None
15 AllowShortIfStatementsOnASingleLine: true
16 AllowShortLoopsOnASingleLine: true
17 AlwaysBreakAfterDefinitionReturnType: None
18 AlwaysBreakAfterReturnType: None
19 AlwaysBreakBeforeMultilineStrings: true
20 AlwaysBreakTemplateDeclarations: true
21 BinPackArguments: false
22 BinPackParameters: false
23 BraceWrapping:
24   AfterClass:      true
25   AfterControlStatement: true
26   AfterEnum:       true
27   AfterFunction:   true
28   AfterNamespace:  true
29   AfterObjCDeclaration: false
30   AfterStruct:     true
31   AfterUnion:      true
32   AfterExternBlock: false
33   BeforeCatch:     false
34   BeforeElse:      false
35   IndentBraces:    false
36   SplitEmptyFunction: true
37   SplitEmptyRecord: true
38 BreakBeforeBinaryOperators: None
39 BreakBeforeBraces: Custom
40 BreakBeforeTernaryOperators: true
41 BreakConstructorInitializers: BeforeColon
42 ConstructorInitializerAllOnOneLineOrOnePerLine: true
43 AllowAllConstructorInitializersOnNextLine : false
44 ConstructorInitializerIndentWidth: 0
45 ColumnLimit:     0
46 CommentPragmas:  '^ IWYU pragma:'
47 ContinuationIndentWidth: 2
48 Cpp11BracedListStyle: true
49 DerivePointerAlignment: false
50 DisableFormat:   false
51 ExperimentalAutoDetectBinPacking: false
52 ForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
53 IncludeBlocks: Preserve
54 IncludeCategories:
55   - Regex:           '^<.*\.h>'
56     Priority:        1
57   - Regex:           '^<.*'
58     Priority:        2
59   - Regex:           '.*'
60     Priority:        3
61 SpaceBeforeCtorInitializerColon: false
62 IndentCaseLabels: true
63 IndentWidth:     2
64 IndentWrappedFunctionNames: false
65 KeepEmptyLinesAtTheStartOfBlocks: false
66 MacroBlockBegin: '^DALI_ENUM_TO_STRING_TABLE_BEGIN'
67 MacroBlockEnd:   'DALI_ENUM_TO_STRING_TABLE_END'
68 MaxEmptyLinesToKeep: 1
69 NamespaceIndentation: None
70 ObjCBlockIndentWidth: 2
71 ObjCSpaceAfterProperty: false
72 ObjCSpaceBeforeProtocolList: false
73 PenaltyBreakBeforeFirstCallParameter: 1
74 PenaltyBreakComment: 300
75 PenaltyBreakFirstLessLess: 120
76 PenaltyBreakString: 1000
77 PenaltyExcessCharacter: 1000000
78 PenaltyReturnTypeOnItsOwnLine: 200
79 PointerAlignment: Left
80 ReflowComments:  true
81 SortIncludes:    true
82 SpaceAfterCStyleCast: false
83 SpaceBeforeAssignmentOperators: true
84 SpaceBeforeParens: Never
85 SpaceInEmptyParentheses: false
86 SpacesInConditionalStatement : false
87 SpacesBeforeTrailingComments: 1
88 SpacesInAngles:  false
89 SpacesInContainerLiterals: true
90 SpacesInCStyleCastParentheses: false
91 SpacesInParentheses: false
92 SpacesInSquareBrackets: false
93 SpaceAfterTemplateKeyword: false
94 Standard:        Auto
95 TabWidth:        2
96 UseTab:          Never
97 ...