summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-12-19 20:16:55 +0100
committerHampusM <hampus@hampusmat.com>2021-12-19 20:16:55 +0100
commite31634ad3ea43f49ee6ad2ef54efdb7ed8700caa (patch)
tree925aef306e678a95e42241c35b75aaf9b98e546a /.clang-format
parent6aec64be1326ffa2941edfef962f03af3cc20da5 (diff)
add clang format config
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 0000000..9d7c3a7
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,11 @@
+BasedOnStyle: LLVM
+UseTab: Always
+IndentWidth: 4
+TabWidth: 4
+AllowShortBlocksOnASingleLine: Empty
+AllowShortIfStatementsOnASingleLine: false
+IndentCaseLabels: false
+ColumnLimit: 0
+AccessModifierOffset: -4
+NamespaceIndentation: All
+FixNamespaceComments: false