From 205549a1c3f10fa56cfda1beffb132dfc0f51dc7 Mon Sep 17 00:00:00 2001 From: Stephen Shelton Date: Fri, 3 Apr 2020 14:07:52 -0600 Subject: [PATCH] Update (mostly loosen) clang-format rules --- .clang-format | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.clang-format b/.clang-format index 4704a0916..38336fa50 100644 --- a/.clang-format +++ b/.clang-format @@ -1,6 +1,6 @@ BasedOnStyle: Google AlignAfterOpenBracket: Align -AlignConsecutiveAssignments: 'true' +AlignConsecutiveAssignments: 'false' AlignConsecutiveDeclarations: 'false' AlignEscapedNewlinesLeft: 'true' AlignOperands: 'false' @@ -19,14 +19,17 @@ BreakBeforeTernaryOperators: 'true' BreakConstructorInitializersBeforeComma: 'true' Cpp11BracedListStyle: 'true' KeepEmptyLinesAtTheStartOfBlocks: 'false' -Language: Cpp NamespaceIndentation: All PenaltyBreakString: '3' -SpaceBeforeParens: Never -SpacesInAngles: 'true' +SpaceBeforeParens: ControlStatements +SpacesInAngles: 'false' SpacesInContainerLiterals: 'false' SpacesInParentheses: 'false' SpacesInSquareBrackets: 'false' Standard: Cpp11 UseTab: Never -SortIncludes: false \ No newline at end of file +SortIncludes: false +ColumnLimit: 100 + +# when wrapping function calls/declarations, force each parameter to have its own line +BinPackParameters: 'true'