summaryrefslogtreecommitdiff
path: root/dot_clang-format
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2024-12-11 20:46:32 +0100
committerSanto Cariotti <santo@dcariotti.me>2024-12-11 20:47:59 +0100
commitf22f1723c01b56da14ae1de3491a78af1bc4c464 (patch)
tree030411c811d3474c4b322eca29d1bf8e96b7511f /dot_clang-format
parentd8713792f93473fe14e01d151529fb6ef139448f (diff)
Dot files with `chezmoi`
Diffstat (limited to 'dot_clang-format')
-rw-r--r--dot_clang-format10
1 files changed, 10 insertions, 0 deletions
diff --git a/dot_clang-format b/dot_clang-format
new file mode 100644
index 0000000..0b87256
--- /dev/null
+++ b/dot_clang-format
@@ -0,0 +1,10 @@
+---
+AlwaysBreakAfterReturnType: All
+BasedOnStyle: Mozilla
+IndentWidth: 4
+IndentAccessModifiers: false
+AccessModifierOffset: -4
+Standard: Cpp11
+TabWidth: 4
+AlwaysBreakAfterDefinitionReturnType: All
+AlignAfterOpenBracket: BlockIndent