aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.clang-tidy7
-rw-r--r--benchmark/.clang-tidy3
-rw-r--r--meson.build3
3 files changed, 10 insertions, 3 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 0688e7c..64946df 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -1,4 +1,4 @@
-# Copyright 2020-2022 David Robillard <d@drobilla.net>
+# Copyright 2020-2024 David Robillard <d@drobilla.net>
# SPDX-License-Identifier: 0BSD OR GPL-2.0-or-later
Checks: >
@@ -9,7 +9,9 @@ Checks: >
-*-no-malloc,
-*-non-private-member-variables-in-classes,
-altera-*,
+ -bugprone-assignment-in-if-condition,
-bugprone-easily-swappable-parameters,
+ -cppcoreguidelines-avoid-do-while,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-pro-bounds-constant-array-index,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
@@ -19,7 +21,10 @@ Checks: >
-google-runtime-int,
-google-runtime-references,
-llvmlibc-*,
+ -misc-include-cleaner,
-modernize-use-trailing-return-type,
+ -readability-avoid-const-params-in-decls,
+ -readability-convert-member-functions-to-static,
-readability-identifier-length,
-readability-implicit-bool-conversion,
WarningsAsErrors: '*'
diff --git a/benchmark/.clang-tidy b/benchmark/.clang-tidy
index 93f8fdf..5c94fb0 100644
--- a/benchmark/.clang-tidy
+++ b/benchmark/.clang-tidy
@@ -1,7 +1,8 @@
-# Copyright 2020-2022 David Robillard <d@drobilla.net>
+# Copyright 2020-2024 David Robillard <d@drobilla.net>
# SPDX-License-Identifier: 0BSD OR GPL-2.0-or-later
Checks: >
-llvm-header-guard,
+ -performance-avoid-endl,
-readability-static-accessed-through-instance,
InheritParentConfig: true
diff --git a/meson.build b/meson.build
index ccbac27..e175c30 100644
--- a/meson.build
+++ b/meson.build
@@ -1,4 +1,4 @@
-# Copyright 2019-2023 David Robillard <d@drobilla.net>
+# Copyright 2019-2024 David Robillard <d@drobilla.net>
# SPDX-License-Identifier: 0BSD OR GPL-2.0-or-later
project(
@@ -34,6 +34,7 @@ if cpp.get_id() in ['clang', 'emscripten']
'-Wno-c++98-compat',
'-Wno-c++98-compat-pedantic',
'-Wno-padded',
+ '-Wno-unsafe-buffer-usage',
]
if not meson.is_cross_build()