diff --git a/.clang-format b/.clang-format index 57a457d..03bf57f 100644 --- a/.clang-format +++ b/.clang-format @@ -1,5 +1,4 @@ AllowAllArgumentsOnNextLine: false -BreakBeforeBraces: Allman Cpp11BracedListStyle: false ColumnLimit: 0 BreakBeforeBinaryOperators: NonAssignment @@ -15,4 +14,22 @@ PointerAlignment: Left SeparateDefinitionBlocks: Always SpaceBeforeParens: Never ReflowComments: false -SortIncludes: false \ No newline at end of file +SortIncludes: false +BreakBeforeBraces: Custom +BraceWrapping: + AfterCaseLabel: true + AfterClass: true + AfterControlStatement: Always + AfterExternBlock: false + AfterEnum: true + AfterFunction: true + AfterNamespace: true + AfterObjCDeclaration: true + AfterStruct: true + AfterObjCDeclaration: true + AfterUnion: true + BeforeCatch: true + BeforeElse: true + BeforeLambdaBody: true + BeforeWhile: true +IndentExternBlock: false