summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorKozoriz <kozorizandriy@gmail.com>2016-04-26 15:53:27 +0300
committerKozoriz <kozorizandriy@gmail.com>2016-04-26 15:53:27 +0300
commit7f3ec0ad66f24984a62db2e26830c61a87ffd620 (patch)
treefd17546d16cd4908f18caac88665b60a03979486 /.clang-format
parentc8048dd24dc40502390ad12c1a985d0b2ec7dd7f (diff)
downloadsdl_core-7f3ec0ad66f24984a62db2e26830c61a87ffd620.tar.gz
Add clang-format config file
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format11
1 files changed, 11 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 0000000000..8515b05b85
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,11 @@
+---
+Language: Cpp
+BasedOnStyle: Google
+AllowShortFunctionsOnASingleLine: Empty
+AllowShortIfStatementsOnASingleLine: false
+AllowShortLoopsOnASingleLine: false
+BinPackArguments: false
+BinPackParameters: false
+BreakConstructorInitializersBeforeComma: true
+DerivePointerAlignment: false
+TabWidth: 2