From: lx-s Date: Wed, 8 Jul 2026 06:03:09 +0000 (+0200) Subject: Added clang format X-Git-Tag: 2.6.0.0~103^2~2 X-Git-Url: https://repos.lx-s.de/gitweb/?a=commitdiff_plain;h=2f46620979c71c4eede5b5c9b24e5cb5b5f77cfe;p=winmute.git Added clang format --- diff --git a/.clang-format b/.clang-format index 28faeff..78e4129 100644 --- a/.clang-format +++ b/.clang-format @@ -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 +