summaryrefslogtreecommitdiff
path: root/src/.clang-format
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2016-09-18 21:13:38 -0700
committerGravatar Yuri Kunde Schlesner2016-09-18 21:13:38 -0700
commit784b96d87f5b9ef4a238679d694b2d5a603725ca (patch)
tree781497bacfd21d5795b6480f9f6d8aa900447b60 /src/.clang-format
parentSources: Run clang-format on everything. (diff)
downloadyuzu-784b96d87f5b9ef4a238679d694b2d5a603725ca.tar.gz
yuzu-784b96d87f5b9ef4a238679d694b2d5a603725ca.tar.xz
yuzu-784b96d87f5b9ef4a238679d694b2d5a603725ca.zip
Tweak formatting settings
Diffstat (limited to '')
-rw-r--r--src/.clang-format7
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
6AlignConsecutiveAssignments: false 6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false 7AlignConsecutiveDeclarations: false
8AlignEscapedNewlinesLeft: false 8AlignEscapedNewlinesLeft: false
9AlignOperands: true 9AlignOperands: true
10AlignTrailingComments: true 10AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true 11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false 12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false 13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: false 14AllowShortFunctionsOnASingleLine: Empty
15AllowShortIfStatementsOnASingleLine: false 15AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false 16AllowShortLoopsOnASingleLine: false
17AlwaysBreakAfterDefinitionReturnType: None 17AlwaysBreakAfterDefinitionReturnType: None
@@ -44,7 +44,6 @@ ContinuationIndentWidth: 4
44Cpp11BracedListStyle: true 44Cpp11BracedListStyle: true
45DerivePointerAlignment: false 45DerivePointerAlignment: false
46DisableFormat: false 46DisableFormat: false
47ExperimentalAutoDetectBinPacking: false
48ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] 47ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
49IncludeCategories: 48IncludeCategories:
50 - Regex: '^\<[wW]indows.h\>' 49 - Regex: '^\<[wW]indows.h\>'
@@ -69,7 +68,7 @@ PenaltyBreakComment: 300
69PenaltyBreakFirstLessLess: 120 68PenaltyBreakFirstLessLess: 120
70PenaltyBreakString: 1000 69PenaltyBreakString: 1000
71PenaltyExcessCharacter: 1000000 70PenaltyExcessCharacter: 1000000
72PenaltyReturnTypeOnItsOwnLine: 60 71PenaltyReturnTypeOnItsOwnLine: 150
73PointerAlignment: Left 72PointerAlignment: Left
74ReflowComments: true 73ReflowComments: true
75SortIncludes: true 74SortIncludes: true