aboutsummaryrefslogtreecommitdiff
path: root/backend/.clang-format
diff options
context:
space:
mode:
Diffstat (limited to 'backend/.clang-format')
-rw-r--r--backend/.clang-format20
1 files changed, 20 insertions, 0 deletions
diff --git a/backend/.clang-format b/backend/.clang-format
new file mode 100644
index 0000000..fc4f3fc
--- /dev/null
+++ b/backend/.clang-format
@@ -0,0 +1,20 @@
+BasedOnStyle: LLVM
+Language: Cpp
+Standard: Latest
+ColumnLimit: 100
+IndentWidth: 2
+ContinuationIndentWidth: 4
+UseTab: Never
+BreakBeforeBraces: Attach
+PointerAlignment: Right
+ReferenceAlignment: Pointer
+DerivePointerAlignment: false
+NamespaceIndentation: None
+FixNamespaceComments: true
+SortIncludes: CaseSensitive
+IncludeBlocks: Regroup
+AllowShortFunctionsOnASingleLine: Empty
+AllowShortIfStatementsOnASingleLine: Never
+AllowShortLoopsOnASingleLine: false
+AllowShortCaseLabelsOnASingleLine: false
+LineEnding: LF