[Vulkan] Vulkan controller moved to the API
[platform/core/uifw/dali-core.git] / .clang-format
1 ---
2 Language:        Cpp
3 # BasedOnStyle:  Google
4 AccessModifierOffset: -2
5 AlignAfterOpenBracket: Align
6 AlignConsecutiveAssignments: true
7 AlignConsecutiveDeclarations: true
8 AlignEscapedNewlines: Right
9 AlignOperands:   true
10 AlignTrailingComments: true
11 AllowAllParametersOfDeclarationOnNextLine: true
12 AllowShortBlocksOnASingleLine: false
13 AllowShortCaseLabelsOnASingleLine: false
14 AllowShortFunctionsOnASingleLine: None
15 AllowShortIfStatementsOnASingleLine: false
16 AllowShortLoopsOnASingleLine: false
17 AlwaysBreakAfterDefinitionReturnType: None
18 AlwaysBreakAfterReturnType: None
19 AlwaysBreakBeforeMultilineStrings: false
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: true
30   AfterStruct:     true
31   AfterUnion:      true
32   AfterExternBlock: true
33   BeforeCatch:     true
34   BeforeElse:      true
35   IndentBraces:    false
36   SplitEmptyFunction: true
37   SplitEmptyRecord: true
38   SplitEmptyNamespace: true
39 BreakBeforeBinaryOperators: None
40 BreakBeforeBraces: Custom
41 BreakBeforeInheritanceComma: false
42 BreakBeforeTernaryOperators: true
43 BreakConstructorInitializersBeforeComma: false
44 BreakConstructorInitializers: BeforeColon
45 BreakAfterJavaFieldAnnotations: false
46 BreakStringLiterals: true
47 ColumnLimit:     120
48 CommentPragmas:  '^'
49 CompactNamespaces: false
50 ConstructorInitializerAllOnOneLineOrOnePerLine: true
51 ConstructorInitializerIndentWidth: 0
52 ContinuationIndentWidth: 2
53 Cpp11BracedListStyle: true
54 DerivePointerAlignment: false
55 DisableFormat:   false
56 ExperimentalAutoDetectBinPacking: false
57 FixNamespaceComments: true
58 ForEachMacros:
59   - foreach
60   - Q_FOREACH
61   - BOOST_FOREACH
62 IncludeBlocks:   Regroup
63 IncludeCategories:
64   - Regex:           '^<dali/public-api/.*\.h>'
65     Priority:        4
66   - Regex:           '^<dali/integration-api/.*\.h>'
67     Priority:        5
68   - Regex:           '^<dali-toolkit/public-api/.*\.h>'
69     Priority:        6
70   - Regex:           '^<dali/.*\.h>'
71     Priority:        6
72   - Regex:           '^<dali-toolkit/.*\.h>'
73     Priority:        7
74   - Regex:           '^<.*\.h>'
75     Priority:        8
76   - Regex:           '^<.*'
77     Priority:        2
78   - Regex:           '.*'
79     Priority:        1
80 IncludeIsMainRegex: '$'
81 IndentCaseLabels: true
82 IndentPPDirectives: None
83 IndentWidth:     2
84 IndentWrappedFunctionNames: false
85 JavaScriptQuotes: Leave
86 JavaScriptWrapImports: true
87 KeepEmptyLinesAtTheStartOfBlocks: false
88 MacroBlockBegin: ''
89 MacroBlockEnd:   ''
90 MaxEmptyLinesToKeep: 1
91 NamespaceIndentation: None
92 ObjCBlockIndentWidth: 2
93 ObjCSpaceAfterProperty: false
94 ObjCSpaceBeforeProtocolList: true
95 PenaltyBreakAssignment: 2
96 PenaltyBreakBeforeFirstCallParameter: 1
97 PenaltyBreakComment: 300
98 PenaltyBreakFirstLessLess: 120
99 PenaltyBreakString: 1000
100 PenaltyExcessCharacter: 1000000
101 PenaltyReturnTypeOnItsOwnLine: 200
102 PointerAlignment: Left
103 RawStringFormats:
104   - Language:        TextProto
105     Delimiters:
106       - pb
107       - PB
108       - proto
109       - PROTO
110       - textproto
111       - TEXTPROTO
112     EnclosingFunctions:
113       - EqualsProto
114       - PARSE_TEXT_PROTO
115       - ParseTextProto
116     CanonicalDelimiter: ''
117     BasedOnStyle:    google
118 ReflowComments:  false
119 SortIncludes:    true
120 SortUsingDeclarations: true
121 SpaceAfterCStyleCast: false
122 SpaceAfterTemplateKeyword: false
123 SpaceBeforeAssignmentOperators: true
124 SpaceBeforeParens: Never
125 SpaceInEmptyParentheses: false
126 SpacesBeforeTrailingComments: 1
127 SpacesInAngles:  false
128 SpacesInContainerLiterals: false
129 SpacesInCStyleCastParentheses: false
130 SpacesInParentheses: true
131 SpacesInSquareBrackets: false
132 Standard:        Cpp11
133 TabWidth:        8
134 UseTab:          Never
135 ...
136