tinyds: fix the SVACE issue
[platform/core/uifw/libds-tizen.git] / .clang-format
1 ---
2 Language:        Cpp
3 # BasedOnStyle:  LLVM
4 AccessModifierOffset: -2
5 AlignAfterOpenBracket: DontAlign
6 AlignConsecutiveMacros: false
7 AlignConsecutiveAssignments: false
8 AlignConsecutiveDeclarations: false
9 AlignEscapedNewlines: Right
10 AlignOperands:   true
11 AlignTrailingComments: true
12 # AllowAllArgumentsOnNextLine: true
13 AllowAllConstructorInitializersOnNextLine: true
14 AllowAllParametersOfDeclarationOnNextLine: false
15 AllowShortBlocksOnASingleLine: Never
16 AllowShortCaseLabelsOnASingleLine: false
17 AllowShortFunctionsOnASingleLine: None
18 AllowShortIfStatementsOnASingleLine: Never
19 AllowShortLambdasOnASingleLine: All
20 AllowShortLoopsOnASingleLine: false
21 AlwaysBreakAfterDefinitionReturnType: None
22 AlwaysBreakAfterReturnType: TopLevelDefinitions
23 AlwaysBreakBeforeMultilineStrings: false
24 AlwaysBreakTemplateDeclarations: MultiLine
25 BinPackArguments: true
26 BinPackParameters: true
27 BreakBeforeBraces: Linux
28 BreakBeforeBinaryOperators: None
29 BreakConstructorInitializers: BeforeColon
30 BreakInheritanceList: BeforeColon
31 BreakBeforeTernaryOperators: false
32 BreakStringLiterals: false
33 ColumnLimit:     80
34 CommentPragmas:  '^ IWYU pragma:'
35 CompactNamespaces: false
36 ConstructorInitializerAllOnOneLineOrOnePerLine: false
37 ConstructorInitializerIndentWidth: 4
38 ContinuationIndentWidth: 4
39 Cpp11BracedListStyle: true
40 DeriveLineEnding: true
41 DerivePointerAlignment: false
42 DisableFormat:   false
43 ExperimentalAutoDetectBinPacking: false
44 FixNamespaceComments: true
45 ForEachMacros:
46   - foreach
47   - Q_FOREACH
48   - BOOST_FOREACH
49 IncludeBlocks:   Preserve
50 IncludeCategories:
51   - Regex:           '^"(llvm|llvm-c|clang|clang-c)/'
52     Priority:        2
53     SortPriority:    0
54   - Regex:           '^(<|"(gtest|gmock|isl|json)/)'
55     Priority:        3
56     SortPriority:    0
57   - Regex:           '.*'
58     Priority:        1
59     SortPriority:    0
60 IncludeIsMainRegex: '(Test)?$'
61 IncludeIsMainSourceRegex: ''
62 IndentCaseLabels: true
63 IndentGotoLabels: true
64 IndentPPDirectives: AfterHash
65 IndentWidth:     4
66 IndentWrappedFunctionNames: false
67 KeepEmptyLinesAtTheStartOfBlocks: false
68 MacroBlockBegin: ''
69 MacroBlockEnd:   ''
70 MaxEmptyLinesToKeep: 1
71 NamespaceIndentation: None
72 PointerAlignment: Right
73 ReflowComments:  true
74 SortIncludes:    false
75 SortUsingDeclarations: true
76 SpaceAfterCStyleCast: false
77 SpaceAfterLogicalNot: false
78 SpaceAfterTemplateKeyword: true
79 SpaceBeforeAssignmentOperators: true
80 SpaceBeforeCpp11BracedList: false
81 SpaceBeforeCtorInitializerColon: true
82 SpaceBeforeInheritanceColon: true
83 SpaceBeforeParens: ControlStatements
84 SpaceBeforeRangeBasedForLoopColon: true
85 SpaceInEmptyBlock: false
86 SpaceInEmptyParentheses: false
87 SpacesBeforeTrailingComments: 2
88 SpacesInAngles:  false
89 SpacesInConditionalStatement: false
90 SpacesInContainerLiterals: false
91 SpacesInCStyleCastParentheses: false
92 SpacesInParentheses: false
93 SpacesInSquareBrackets: false
94 SpaceBeforeSquareBrackets: false
95 Standard:        Latest
96 StatementMacros:
97   - Q_UNUSED
98   - QT_REQUIRE_VERSION
99 TabWidth:        4
100 UseCRLF:         false
101 UseTab:          Never
102 ...