aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-04-11 18:04:35 +0530
committersinanmohd <sinan@sinanmohd.com>2024-04-11 18:04:35 +0530
commitbfdad0baf319da3d3f6fb88736ba0f6454cc93d8 (patch)
treeaf84fb05857be21740fe5f01b27204da2e89dda0 /.clang-format
parent68af029169b5303b678530763e7de30be89e56ff (diff)
c/format: init
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..e4b15e9
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,11 @@
+BasedOnStyle: LLVM
+BreakBeforeBraces: Linux
+IndentCaseLabels: false
+
+AlignConsecutiveMacros: true
+AllowShortIfStatementsOnASingleLine: false
+
+ContinuationIndentWidth: 8
+IndentWidth: 8
+TabWidth: 8
+UseTab: Always