diff --git a/src/.clang-format b/.clang-format similarity index 88% rename from src/.clang-format rename to .clang-format index 5a910ff34b..ff61915aac 100644 --- a/src/.clang-format +++ b/.clang-format @@ -8,6 +8,7 @@ IndentCaseLabels: true BreakBeforeBraces: Linux AlignEscapedNewlinesLeft: false AllowShortFunctionsOnASingleLine: false +AlignTrailingComments: true SpacesBeforeTrailingComments: 2 PenaltyReturnTypeOnItsOwnLine: 200 AllowAllParametersOfDeclarationOnNextLine: false @@ -15,4 +16,5 @@ AllowShortIfStatementsOnASingleLine: false AllowShortLoopsOnASingleLine: false BinPackParameters: false BreakBeforeBinaryOperators: true +BreakBeforeTernaryOperators: true ContinuationIndentWidth: 4