summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2016-02-26 09:05:54 +0100
committerMurray Cumming <murrayc@murrayc.com>2016-02-26 09:05:54 +0100
commite3e3a5da0a3bc670499bc6c60c558a2c659d21af (patch)
treebf4b54869bfed607f00fa1b59d9a767a71c8781f
parent81bf1ecdd7dd6d71f19c1b59b0a1a68fa65d9cd3 (diff)
downloadglibmm-e3e3a5da0a3bc670499bc6c60c558a2c659d21af.tar.gz
Added a format file for clang-format.
For automatic reformatting of the source code.
-rw-r--r--.clang-format12
1 files changed, 12 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 00000000..8d3b34ca
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,12 @@
+BasedOnStyle: Mozilla
+Standard: Cpp11
+AlignAfterOpenBracket: false
+AlignEscapedNewlinesLeft: true
+AlwaysBreakAfterDefinitionReturnType: None
+BreakBeforeBraces: Allman
+BreakConstructorInitializersBeforeComma: false
+ColumnLimit: 100
+ConstructorInitializerAllOnOneLineOrOnePerLine: true
+ConstructorInitializerIndentWidth: 0
+IndentCaseLabels: false
+