diff options
-rw-r--r-- | .clang-format (renamed from src/.clang-format) | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/.clang-format b/.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 |