aboutsummaryrefslogtreecommitdiffstats
path: root/include/.clang-tidy
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-01 13:32:11 +0100
committerDavid Robillard <d@drobilla.net>2020-11-01 13:43:16 +0100
commitf0f058dbeb40d016501328ed755392b46eefec9b (patch)
tree3fe5ede0194084d6475ee25c0d07cda271d565f5 /include/.clang-tidy
parent71a9fbf296928d3599743e88f72390ff827c5ab3 (diff)
downloadpugl-f0f058dbeb40d016501328ed755392b46eefec9b.tar.gz
pugl-f0f058dbeb40d016501328ed755392b46eefec9b.tar.bz2
pugl-f0f058dbeb40d016501328ed755392b46eefec9b.zip
Run clang-tidy on all headers and fix various issues
It's a nightmare trying to get this thing to check everything.
Diffstat (limited to 'include/.clang-tidy')
-rw-r--r--include/.clang-tidy8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/.clang-tidy b/include/.clang-tidy
new file mode 100644
index 0000000..ccf7b3c
--- /dev/null
+++ b/include/.clang-tidy
@@ -0,0 +1,8 @@
+Checks: >
+ *,
+ -*-magic-numbers,
+ -*-uppercase-literal-suffix,
+ -clang-diagnostic-unused-function,
+ -clang-diagnostic-unused-macros,
+FormatStyle: file
+HeaderFilterRegex: 'pugl/.*'