about summary refs log tree commit diff stats
path: root/.clang-format
diff options
context:
space:
mode:
authorRory Bradford <roryrjb@gmail.com>2020-04-10 11:34:57 +0100
committerRory Bradford <roryrjb@gmail.com>2020-04-10 11:34:57 +0100
commit1cc76724bed0180355e53d705bb9ec30928a71ac (patch)
tree7ccf9e253c69a844995e3a0572120fc824fcc9dc /.clang-format
parent8af4130a8927f0f4aaab208769b93da1ef0c32f8 (diff)
downloadrf-1cc76724bed0180355e53d705bb9ec30928a71ac.tar.gz
Refactor
Implement `fnmatch` file name matching.

Define clang formatting, previously used defaults without a config
file; apply formatting.

Make `install` more cross-platform.

Signed-off-by: Rory Bradford <roryrjb@gmail.com>
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format8
1 files changed, 8 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 0000000..8af29b3
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,8 @@
+IndentWidth: 4
+TabWidth: 4
+UseTab: Always
+AllowShortIfStatementsOnASingleLine: false
+IndentCaseLabels: false
+AlignAfterOpenBracket: DontAlign
+AllowAllParametersOfDeclarationOnNextLine: true
+ConstructorInitializerAllOnOneLineOrOnePerLine: false