From: Côme Chilliet Date: Mon, 9 Jan 2017 23:49:48 +0000 (+0100) Subject: Added .clang-format file X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=531fd8d27258d6c15d6fd221272c74b48602a85a;p=lugaru.git Added .clang-format file --- 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 +...