summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2021-10-15 19:37:42 +0200
committerSanto Cariotti <santo@dcariotti.me>2021-10-15 19:38:28 +0200
commit0bc41054fbafbe2394a158e06850347243457b53 (patch)
treebe2c64c5309e30d4917b4a43c6ecb8f6a94a22aa /.clang-format
parentfc9b28a97b9c8124840a82d798b7b1be18ecad43 (diff)
style: clang-formatmain
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format10
1 files changed, 10 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 0000000..2460f7b
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,10 @@
+---
+Language: Cpp
+BasedOnStyle: WebKit
+IndentWidth: 4
+
+BreakBeforeBraces: Custom
+BraceWrapping:
+ AfterFunction: true
+AllowShortFunctionsOnASingleLine: None
+AlwaysBreakAfterReturnType: AllDefinitions