summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2018-03-02 16:28:11 -0800
committerMarcus Müller <marcus.mueller@ettus.com>2018-03-03 19:13:31 +0100
commit7e758dd41aa8ff72e6be903d682dbdd922ecc8dc (patch)
tree78f25c436485edaa4cf7d87e9374288f028a3173 /.clang-format
parent01190e41d875aad792e61f35d78f8a73b4b7c0e8 (diff)
Add .clang-format file
Diffstat (limited to '.clang-format')
-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