aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/cxx/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 /bindings/cxx/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 'bindings/cxx/include/.clang-tidy')
-rw-r--r--bindings/cxx/include/.clang-tidy7
1 files changed, 7 insertions, 0 deletions
diff --git a/bindings/cxx/include/.clang-tidy b/bindings/cxx/include/.clang-tidy
index 6453ca0..182d0d7 100644
--- a/bindings/cxx/include/.clang-tidy
+++ b/bindings/cxx/include/.clang-tidy
@@ -1,5 +1,12 @@
Checks: >
*,
-*-uppercase-literal-suffix,
+ -clang-diagnostic-unused-macros,
+ -cppcoreguidelines-pro-bounds-pointer-arithmetic,
+ -cppcoreguidelines-pro-type-static-cast-downcast,
+ -google-runtime-references,
+ -modernize-use-trailing-return-type,
+ -readability-implicit-bool-conversion,
+ -readability-named-parameter,
FormatStyle: file
HeaderFilterRegex: 'pugl/.*'