]> Sergey Matveev's repositories - dotfiles.git/blobdiff - clang-format/.clang-format
Break before function name
[dotfiles.git] / clang-format / .clang-format
index 1da345a989da8fff0c800e197d6bb7ebe79c04e7..6e2f208654b76005f348478a989d81aaf20986c2 100644 (file)
@@ -1,12 +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
+{
+    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,
+    },
+}