From c81283271fa45fb7606e753719d9725d457189f2 Mon Sep 17 00:00:00 2001 From: Paul Adenot Date: Fri, 30 Oct 2020 18:19:02 +0100 Subject: Add an initial clang-format file --- .clang-format | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .clang-format (limited to '.clang-format') diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..b8b0df0 --- /dev/null +++ b/.clang-format @@ -0,0 +1,13 @@ +IndentWidth: 2 +UseTab: Never +ReflowComments: true +PointerAlignment: Middle +AlignAfterOpenBracket: Align +AlwaysBreakAfterReturnType: TopLevel +ColumnLimit: 80 +BreakBeforeBraces: Custom +BraceWrapping: + AfterFunction: true + AfterControlStatement: Never +SpaceBeforeParens: ControlStatements +BreakBeforeBinaryOperators: None -- cgit v1.2.3