aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorNebula Moe <nebula_moe@outlook.com>2023-07-24 19:47:03 +0800
committerNebula Moe <nebula_moe@outlook.com>2023-07-28 22:30:22 +0800
commit2161797b19b068622a692628f352c78254d8a354 (patch)
tree146272037ff9a79dbd3903dd9471a7713469419d /.clang-format
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format6
1 files changed, 6 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 0000000..6422547
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,6 @@
+BasedOnStyle: LLVM
+IndentWidth: 4
+UseTab: Never
+BreakBeforeBraces: Linux
+AllowShortIfStatementsOnASingleLine: false
+IndentCaseLabels: false