summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-03-26 11:59:15 +0100
committerKonstantin Käfer <mail@kkaefer.com>2014-03-26 11:59:15 +0100
commit700dcc9260a57b7ccdd9a93fcecbca73640104ac (patch)
treed414c9365ef2e703dcea2a98e56dce10b3f877f0
parent4b6b5b3b22bace1d6769fa7851c89139f029e68a (diff)
downloadqtlocation-mapboxgl-700dcc9260a57b7ccdd9a93fcecbca73640104ac.tar.gz
add clang-format file
-rw-r--r--.clang-format19
1 files changed, 19 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 0000000000..3557822cbd
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,19 @@
+Standard: Cpp11
+IndentWidth: 4
+AccessModifierOffset: -4
+UseTab: Never
+BinPackParameters: true
+AllowShortFunctionsOnASingleLine: false
+AllowShortIfStatementsOnASingleLine: false
+AllowShortLoopsOnASingleLine: false
+ConstructorInitializerAllOnOneLineOrOnePerLine: true
+AlwaysBreakTemplateDeclarations: true
+NamespaceIndentation: None
+PointerBindsToType: false
+SpacesInParentheses: false
+BreakBeforeBraces: Attach
+ColumnLimit: 80
+Cpp11BracedListStyle: true
+SpaceBeforeParens: ControlStatements
+SpacesBeforeTrailingComments: 1
+SpacesInContainerLiterals: true