From 67305ffb5de865f872898c03cbacd189c9e9aa53 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Wed, 29 Mar 2017 17:34:50 +0200 Subject: [PATCH] lint: src/.clang-format Move to top level so that clang-format -style=file can find it regardless of current directory. --- src/.clang-format => .clang-format | 2 ++ 1 file changed, 2 insertions(+) rename src/.clang-format => .clang-format (88%) 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