aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2019-10-17 09:08:38 +0300
committerPetri Lehtinen <petri@digip.org>2019-10-21 08:53:03 +0300
commit7dc463ee4ee4d9b42ad4d914ac4caf734ecc56ae (patch)
treeff1c8e200211942ecb407df27d3d8c2c0aa085ac /.clang-format
parent79075d5393cc6e1b4e0829a8887eba4ea2735fc5 (diff)
downloadjansson-7dc463ee4ee4d9b42ad4d914ac4caf734ecc56ae.zip
jansson-7dc463ee4ee4d9b42ad4d914ac4caf734ecc56ae.tar.gz
jansson-7dc463ee4ee4d9b42ad4d914ac4caf734ecc56ae.tar.bz2
Add clang-format configuration
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format5
1 files changed, 5 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 0000000..01b288a
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,5 @@
+BasedOnStyle: LLVM
+AlignConsecutiveMacros: true
+AllowShortCaseLabelsOnASingleLine: true
+IndentCaseLabels: true
+IndentWidth: 4