diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-09-19 06:13:38 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-09-19 06:13:38 +0200 |
commit | 784b96d87f5b9ef4a238679d694b2d5a603725ca (patch) | |
tree | 781497bacfd21d5795b6480f9f6d8aa900447b60 | |
parent | Sources: Run clang-format on everything. (diff) | |
download | yuzu-784b96d87f5b9ef4a238679d694b2d5a603725ca.tar yuzu-784b96d87f5b9ef4a238679d694b2d5a603725ca.tar.gz yuzu-784b96d87f5b9ef4a238679d694b2d5a603725ca.tar.bz2 yuzu-784b96d87f5b9ef4a238679d694b2d5a603725ca.tar.lz yuzu-784b96d87f5b9ef4a238679d694b2d5a603725ca.tar.xz yuzu-784b96d87f5b9ef4a238679d694b2d5a603725ca.tar.zst yuzu-784b96d87f5b9ef4a238679d694b2d5a603725ca.zip |
-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 794df84ae..f9a5d1378 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 |