aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-tidy
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-08-04 23:37:58 +0200
committerDavid Robillard <d@drobilla.net>2020-03-11 20:32:58 +0100
commit315b1a784d270c9f3ca0d430c3c1802a3ebfd918 (patch)
treed5757ecf31b3287a66e2ad53cca07c1c4f6c5f15 /.clang-tidy
parent5c02f37c8d1dd74f3b72f1fb0b2a77f4d1dc2da9 (diff)
downloadpugl-c++.tar.gz
pugl-c++.tar.bz2
pugl-c++.zip
WIP: Update C++ bindingsc++
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy15
1 files changed, 14 insertions, 1 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 0f46134..d714003 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -1,14 +1,27 @@
Checks: >
*,
+ -*avoid-c-arrays,
-*magic-numbers,
+ -*non-private-member-variables-in-classes,
-*uppercase-literal-suffix,
-android-cloexec-fopen,
-bugprone-suspicious-string-compare,
-clang-analyzer-alpha.*,
+ -cppcoreguidelines-macro-usage,
+ -cppcoreguidelines-pro-bounds-array-to-pointer-decay,
+ -cppcoreguidelines-pro-bounds-pointer-arithmetic,
+ -cppcoreguidelines-pro-type-static-cast-downcast,
+ -cppcoreguidelines-pro-type-vararg,
+ -google-runtime-references,
-hicpp-multiway-paths-covered,
+ -hicpp-no-array-decay,
-hicpp-signed-bitwise,
+ -hicpp-vararg,
-llvm-header-guard,
- -readability-else-after-return
+ -modernize-use-trailing-return-type,
+ -readability-else-after-return,
+ -readability-implicit-bool-conversion,
+ -readability-named-parameter,
WarningsAsErrors: ''
HeaderFilterRegex: 'pugl/.*|test/.*'
FormatStyle: file