X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=.clang-format;h=d314ca15845fb591c86ee5593f6543b9560cc659;hb=302b3d1c76ebaa1241d608ef2e2d3834d5a39ad7;hp=f983424784dd90c4e52a9a3ce56693911f58eb4e;hpb=b0e4c216b3c3e52f18427314fe69b2ec2b2d5135;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/.clang-format b/.clang-format index f983424..d314ca1 100644 --- a/.clang-format +++ b/.clang-format @@ -34,7 +34,6 @@ BraceWrapping: IndentBraces: false SplitEmptyFunction: true SplitEmptyRecord: true -SpacesInConditionalStatement : true BreakBeforeBinaryOperators: None BreakBeforeBraces: Allman BreakBeforeTernaryOperators: true @@ -46,7 +45,7 @@ ColumnLimit: 0 CommentPragmas: '^ IWYU pragma:' ContinuationIndentWidth: 2 Cpp11BracedListStyle: true -DerivePointerAlignment: true +DerivePointerAlignment: false DisableFormat: false ExperimentalAutoDetectBinPacking: false ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] @@ -63,8 +62,8 @@ IndentCaseLabels: true IndentWidth: 2 IndentWrappedFunctionNames: false KeepEmptyLinesAtTheStartOfBlocks: false -MacroBlockBegin: '' -MacroBlockEnd: '' +MacroBlockBegin: '^DALI_ENUM_TO_STRING_TABLE_BEGIN' +MacroBlockEnd: 'DALI_ENUM_TO_STRING_TABLE_END' MaxEmptyLinesToKeep: 1 NamespaceIndentation: None ObjCBlockIndentWidth: 2 @@ -76,13 +75,14 @@ PenaltyBreakFirstLessLess: 120 PenaltyBreakString: 1000 PenaltyExcessCharacter: 1000000 PenaltyReturnTypeOnItsOwnLine: 200 -PointerAlignment: Right +PointerAlignment: Left ReflowComments: true SortIncludes: true SpaceAfterCStyleCast: false SpaceBeforeAssignmentOperators: true SpaceBeforeParens: Never SpaceInEmptyParentheses: false +SpacesInConditionalStatement : false SpacesBeforeTrailingComments: 1 SpacesInAngles: false SpacesInContainerLiterals: true