]> git.jsancho.org Git - lugaru.git/commitdiff
Added .clang-format file
authorCôme Chilliet <come@chilliet.eu>
Mon, 9 Jan 2017 23:49:48 +0000 (00:49 +0100)
committerCôme Chilliet <come@chilliet.eu>
Mon, 9 Jan 2017 23:49:48 +0000 (00:49 +0100)
.clang-format [new file with mode: 0644]

diff --git a/.clang-format b/.clang-format
new file mode 100644 (file)
index 0000000..8d246a3
--- /dev/null
@@ -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
+...