X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=blobdiff_plain;f=clang-format%2F.clang-format;h=6e2f208654b76005f348478a989d81aaf20986c2;hp=2c6edf9ccb2171acb2eea8dc72ed694822b38f43;hb=b6882314c436b051ca9f7ea79039ec4e0a07afa6;hpb=4155c1734c93f84844d7e10d7b124ee16790106f diff --git a/clang-format/.clang-format b/clang-format/.clang-format index 2c6edf9..6e2f208 100644 --- a/clang-format/.clang-format +++ b/clang-format/.clang-format @@ -1,16 +1,18 @@ -BasedOnStyle: llvm -ColumnLimit: 88 -IndentWidth: 4 -AlignAfterOpenBracket: AlwaysBreak -AlignConsecutiveAssignments: true -AllowAllParametersOfDeclarationOnNextLine: false -AllowShortBlocksOnASingleLine: true -AllowShortCaseLabelsOnASingleLine: true -BinPackArguments: false -BinPackParameters: false -BreakBeforeTernaryOperators: false -BreakStringLiterals: false - -BreakBeforeBraces: Custom -BraceWrapping: - AfterFunction: true +{ + BasedOnStyle: llvm, + ColumnLimit: 88, + IndentWidth: 4, + AlignAfterOpenBracket: AlwaysBreak, + AlignConsecutiveAssignments: true, + AllowAllParametersOfDeclarationOnNextLine: false, + AllowShortBlocksOnASingleLine: true, + AlwaysBreakAfterReturnType: TopLevel, + BinPackArguments: false, + BinPackParameters: false, + BreakBeforeTernaryOperators: false, + BreakStringLiterals: false, + BreakBeforeBraces: Custom, + BraceWrapping: { + AfterFunction: true, + }, +}