From 531fd8d27258d6c15d6fd221272c74b48602a85a Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=B4me=20Chilliet?= Date: Tue, 10 Jan 2017 00:49:48 +0100 Subject: [PATCH] Added .clang-format file --- .clang-format | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..8d246a3 --- /dev/null +++ b/.clang-format @@ -0,0 +1,29 @@ +--- +BasedOnStyle: Mozilla +--- +Language: Cpp +AllowShortIfStatementsOnASingleLine: false +AlwaysBreakAfterDefinitionReturnType: None +AlwaysBreakAfterReturnType: None +AlignAfterOpenBracket: true +AlignOperands: true +ColumnLimit: 0 +ConstructorInitializerIndentWidth: 4 +ContinuationIndentWidth: 4 +IndentWidth: 4 +SpacesInCStyleCastParentheses: false +Standard: Cpp11 +BreakBeforeBraces: Custom +BraceWrapping: + AfterClass: true + AfterControlStatement: false + AfterEnum: true + AfterFunction: true + AfterNamespace: true + AfterObjCDeclaration: false + AfterStruct: true + AfterUnion: true + BeforeCatch: false + BeforeElse: false + IndentBraces: false +... -- 2.39.5