]> repos.lx-s.de Git - winmute.git/commitdiff
Added clang format
authorlx-s <lx-s@users.noreply.github.com>
Wed, 8 Jul 2026 06:03:09 +0000 (08:03 +0200)
committerlx-s <lx-s@users.noreply.github.com>
Wed, 8 Jul 2026 06:03:09 +0000 (08:03 +0200)
.clang-format

index 28faeff9e61f308d86750238c54489897020079e..78e41295adb38154f1a0183698730df4356eb1a3 100644 (file)
@@ -1,13 +1,32 @@
----
+
+
 BasedOnStyle: Google
-AlignAfterOpenBracket: AlwaysBreak
-AllowAllConstructorInitializersOnNextLine: 'true'
-AllowShortBlocksOnASingleLine: 'false'
-AllowShortCaseLabelsOnASingleLine: 'false'
-AllowShortFunctionsOnASingleLine: Empty
-AllowShortIfStatementsOnASingleLine: Never
-AllowShortLoopsOnASingleLine: 'false'
-BinPackParameters: 'false'
-BreakBeforeBraces: Stroustrup
-ColumnLimit: '80'
-UseTab: Never
\ No newline at end of file
+IndentWidth: 4
+---
+Language: Cpp
+UseTab: Never
+AlignEscapedNewlines: Left
+AlignConsecutiveMacros: Consecutive
+AllowAllParametersOfDeclarationOnNextLine: true
+AllowShortBlocksOnASingleLine: false
+AllowShortFunctionsOnASingleLine: false
+AllowShortIfStatementsOnASingleLine: false
+AllowShortLoopsOnASingleLine: false
+AlwaysBreakBeforeMultilineStrings: true
+BinPackParameters: False
+# BreakAfterOpenBracketFunction: true
+FixNamespaceComments: true
+IndentPPDirectives: AfterHash
+BreakBeforeBraces: Custom
+BraceWrapping:
+  AfterFunction: true
+  AfterClass: false
+  AfterStruct: false
+  AfterControlStatement: MultiLine
+  AfterEnum: false
+  AfterNamespace: false
+  AfterUnion: false
+  BeforeElse: false
+  BeforeCatch: false
+  IndentBraces: false
+