summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.clang-format20
1 files changed, 20 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 0000000000..02e7b95b04
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,20 @@
+---
+BasedOnStyle: LLVM
+IndentWidth: 4
+---
+Language: Cpp
+BasedOnStyle: LLVM
+IndentWidth: 4
+AccessModifierOffset: 0
+AlignAfterOpenBracket: Align
+#AlignEscapedNewlines: Left
+AlignTrailingComments: true
+AlwaysBreakTemplateDeclarations: true
+BinPackArguments: false
+BinPackParameters: false
+ColumnLimit: 100
+#FixNamespaceComments: true
+MaxEmptyLinesToKeep: 2
+#CompactNamespaces: true
+NamespaceIndentation: None
+PointerAlignment: Left