summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorJohn Hawthorn <john.hawthorn@gmail.com>2015-11-06 21:45:02 -0800
committerJohn Hawthorn <john.hawthorn@gmail.com>2015-11-07 18:19:14 -0800
commitafef1c979c0955a7bced155ea91984acda067429 (patch)
tree14af5919cf5ff24280cf49d16d4b1ead58599861 /.clang-format
parent4ad97c86ab6de5890b07f15751f96a96587a234e (diff)
Apply clang-format to all files
Apologies that this uses my preferred formatting style: mostly the same as Linux, but without a break between function and brace. Adds spaces in a few places they weren't before.
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..c429e97
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,6 @@
+IndentWidth: 8
+UseTab: Always
+BreakBeforeBraces: Attach
+IndentCaseLabels: true
+AllowShortFunctionsOnASingleLine: false
+ColumnLimit: 100