summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorElijah Thomas <42302100+elijah-thomas774@users.noreply.github.com>2024-10-01 20:24:25 -0400
committerGitHub <noreply@github.com>2024-10-01 20:24:25 -0400
commitdc221b4795f415c8500740dd33e2243f91d527a6 (patch)
tree095409d798350dbc60e3f730437519767b11be2f /.clang-format
parent7ee2ac2d38bba2aa24fce7a72dd01dc07d509e72 (diff)
Misc Egg (#37)
* EGG: Archive, DvdFile, DvdRipper * start eggStream * FrmHeap and AssertHeap OK * progress on EggController * port in WPAD stuff * update WPAD/WUD/KPAD/SC symbols * eggController OK * bytematch more CoreController virtual funcs * eggDecomp/eggStreamDecomp Ok * eggDvdRipper OK * EGG gfx splits * Finished Splitting EGG * create egg Files * eggDecomp.h -> eggStreamDecomp.h * Revert some format changes
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format41
1 files changed, 30 insertions, 11 deletions
diff --git a/.clang-format b/.clang-format
index 884e5c20..7912b862 100644
--- a/.clang-format
+++ b/.clang-format
@@ -1,16 +1,23 @@
AccessModifierOffset: -4
-AlignAfterOpenBracket: DontAlign
+AlignAfterOpenBracket: BlockIndent
+AlignArrayOfStructures: Right
AlignConsecutiveAssignments: None
AlignConsecutiveBitFields: None
AlignConsecutiveDeclarations: None
AlignConsecutiveMacros: None
-AlignEscapedNewlines: DontAlign
-AlignOperands: DontAlign
-AllowAllArgumentsOnNextLine: False
-AllowAllParametersOfDeclarationOnNextLine: False
+AlignConsecutiveShortCaseStatements:
+ Enabled: true
+ AcrossEmptyLines: true
+ AcrossComments: true
+ AlignCaseColons: false
+AlignOperands: AlignAfterOperator
+AlignTrailingComments: Always
+AlignEscapedNewlines: Right
+AllowAllArgumentsOnNextLine: True
+AllowAllParametersOfDeclarationOnNextLine: True
AllowShortBlocksOnASingleLine: Empty
-AllowShortCaseLabelsOnASingleLine: False
-AllowShortEnumsOnASingleLine: True
+AllowShortCaseLabelsOnASingleLine: True
+AllowShortEnumsOnASingleLine: False
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: False
@@ -20,15 +27,27 @@ AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: True
BinPackParameters: True
BitFieldColonSpacing: Both
+BreakBeforeBraces: Custom
+BraceWrapping:
+ AfterCaseLabel: False
+ AfterClass: False
+ AfterControlStatement: Never
+ AfterEnum: False
+ AfterFunction: False
+ AfterNamespace: False
+ AfterUnion: False
+ AfterExternBlock: False
+ BeforeCatch: True
+ BeforeElse: False
+ BeforeWhile: False
BreakBeforeBinaryOperators: None
-BreakBeforeBraces: Attach
BreakBeforeTernaryOperators: False
BreakStringLiterals: True
ColumnLimit: 120
-ContinuationIndentWidth: 8
-IncludeBlocks: Preserve
+ContinuationIndentWidth: 4
+IncludeBlocks: Regroup
IndentAccessModifiers: False
-IndentCaseLabels: False
+IndentCaseLabels: True
IndentGotoLabels: True
IndentWidth: 4
InsertBraces: True