aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-02-10 14:13:32 +0100
committerlonkaars <loek@pipeframe.xyz>2023-02-10 14:13:32 +0100
commit2ba9175278ad9d0f67419508ff9f196a34e9328b (patch)
tree7a18338131a633e5190b0a00a5670aeeb2ac384a /.clang-format
parentab78a6761f011a9bdcaef07d151abb5ccef4204f (diff)
parent7b98ecd905f65fdc0ebbbc5d4e275d67b21e3a5f (diff)
Merge branch 'master' of pipeframe.xyz:school/project-arcade
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format19
1 files changed, 19 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 0000000..f180135
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,19 @@
+---
+AccessModifierOffset: -4
+AlignConsecutiveAssignments: true
+AllowShortIfStatementsOnASingleLine: AllIfsAndElse
+AllowShortLoopsOnASingleLine: true
+BasedOnStyle: LLVM
+BreakBeforeBraces: Attach
+ColumnLimit: 180
+EmptyLineBeforeAccessModifier: Always
+IndentAccessModifiers: false
+IndentCaseLabels: true
+IndentWidth: 4
+Language: Cpp
+Standard: Cpp11
+TabWidth: 4
+UseTab: Always
+...
+
+# vim: ft=yaml