diff options
| author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-09-18 21:13:38 -0700 |
|---|---|---|
| committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-09-18 21:13:38 -0700 |
| commit | 5288648a2317bb1e568efedfe822df597d8564c5 (patch) | |
| tree | 781497bacfd21d5795b6480f9f6d8aa900447b60 | |
| parent | 628ed4376a14a6da7cea1d60c5fb000773795579 (diff) | |
Tweak formatting settings
| -rw-r--r-- | src/.clang-format | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/.clang-format b/src/.clang-format index 794df84ae2..f9a5d1378a 100644 --- a/src/.clang-format +++ b/src/.clang-format @@ -6,12 +6,12 @@ AlignAfterOpenBracket: Align AlignConsecutiveAssignments: false AlignConsecutiveDeclarations: false AlignEscapedNewlinesLeft: false -AlignOperands: true +AlignOperands: true AlignTrailingComments: true AllowAllParametersOfDeclarationOnNextLine: true AllowShortBlocksOnASingleLine: false AllowShortCaseLabelsOnASingleLine: false -AllowShortFunctionsOnASingleLine: false +AllowShortFunctionsOnASingleLine: Empty AllowShortIfStatementsOnASingleLine: false AllowShortLoopsOnASingleLine: false AlwaysBreakAfterDefinitionReturnType: None @@ -44,7 +44,6 @@ ContinuationIndentWidth: 4 Cpp11BracedListStyle: true DerivePointerAlignment: false DisableFormat: false -ExperimentalAutoDetectBinPacking: false ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] IncludeCategories: - Regex: '^\<[wW]indows.h\>' @@ -69,7 +68,7 @@ PenaltyBreakComment: 300 PenaltyBreakFirstLessLess: 120 PenaltyBreakString: 1000 PenaltyExcessCharacter: 1000000 -PenaltyReturnTypeOnItsOwnLine: 60 +PenaltyReturnTypeOnItsOwnLine: 150 PointerAlignment: Left ReflowComments: true SortIncludes: true |
