diff --git a/roles/home-cli/files/clang-format b/roles/home-cli/files/clang-format index 94976ea..5d32582 100644 --- a/roles/home-cli/files/clang-format +++ b/roles/home-cli/files/clang-format @@ -31,7 +31,7 @@ BinPackParameters: true BitFieldColonSpacing: Both BreakAfterJavaFieldAnnotations: false BreakBeforeBinaryOperators: None -BreakBeforeBraces: Attach +BreakBeforeBraces: Custom BreakBeforeConceptDeclarations: true BreakBeforeInheritanceComma: false BreakBeforeTernaryOperators: false @@ -126,6 +126,25 @@ TabWidth: 8 UseCRLF: false UseTab: Never +BraceWrapping: + AfterCaseLabel: false + AfterClass: false + AfterControlStatement: Never + AfterEnum: false + AfterFunction: true + AfterNamespace: false + AfterStruct: false + AfterUnion: false + AfterExternBlock: false + BeforeCatch: true + BeforeElse: true + BeforeLambdaBody: false + BeforeWhile: false + IndentBraces: false + SplitEmptyFunction: false + SplitEmptyRecord: false + SplitEmptyNamespace: false + SpaceBeforeParensOptions: AfterControlStatements: true AfterForeachMacros: true