Summary Files Commits Branches @commit @diff @stats
path: root / .clang-format
diff options
context:
space:
mode:
1 files changed, 20 insertions, 0 deletions
-rw-r--r--.clang-format20
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 0000000..0fc9f1a
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,20 @@
+AlignAfterOpenBracket: true
+AlignConsecutiveAssignments: true
+AlignOperands: true
+AlignTrailingComments: true
+AllowShortCaseLabelsOnASingleLine: true
+AllowShortFunctionsOnASingleLine: true
+AllowShortIfStatementsOnASingleLine: true
+BinPackArguments: false
+BinPackParameters: false
+BreakBeforeBraces: Allman
+SpaceBeforeParens: Never
+IncludeBlocks: Regroup
+ReflowComments: false
+SortIncludes: true
+UseTab: ForIndentation
+IndentWidth: 2
+TabWidth: 2
+ColumnLimit: 100
+
+NamespaceIndentation: All