X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=.clang-format;h=91a23c9b0be50b69540fc3604d115bb961528dc9;hp=fff075fbfde5e4872abdf8e073d3aa482cf1b8a1;hb=d3219302b0e0c9dda470d73a7b9ee48e759756b5;hpb=3aa937ab446c323bec53fc3581c424a3cc5c020e diff --git a/.clang-format b/.clang-format index fff075fbf..91a23c9b0 100644 --- a/.clang-format +++ b/.clang-format @@ -2,7 +2,7 @@ AlignAfterOpenBracket: DontAlign AlignConsecutiveAssignments: false AlignConsecutiveDeclarations: false AlignEscapedNewlines: Left -AlignOperands: true +AlignOperands: false AlignTrailingComments: false AllowShortBlocksOnASingleLine: false AllowShortCaseLabelsOnASingleLine: false @@ -13,6 +13,7 @@ AlwaysBreakAfterReturnType: None AlwaysBreakBeforeMultilineStrings: false BinPackArguments: true BinPackParameters: false +BreakBeforeBraces: Custom BraceWrapping: AfterControlStatement: false AfterEnum: false @@ -21,12 +22,12 @@ BraceWrapping: AfterStruct: false AfterUnion: false AfterExternBlock: false + AfterCaseLabel: true BeforeCatch: false BeforeElse: false IndentBraces: false SplitEmptyFunction: true BreakBeforeBinaryOperators: None -BreakBeforeBraces: Custom BreakBeforeTernaryOperators: false BreakStringLiterals: false ColumnLimit: 80