aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-tidy
diff options
context:
space:
mode:
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy13
1 files changed, 4 insertions, 9 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 5dc550b..f8c3249 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -1,18 +1,13 @@
-# Copyright 2020-2022 David Robillard <d@drobilla.net>
+# Copyright 2020-2025 David Robillard <d@drobilla.net>
# SPDX-License-Identifier: 0BSD OR ISC
Checks: >
*,
+ -*-macro-to-enum,
-*-magic-numbers,
-altera-*,
- -bugprone-assignment-in-if-condition,
-bugprone-easily-swappable-parameters,
- -bugprone-macro-parentheses,
- -clang-diagnostic-unused-function,
- -clang-diagnostic-unused-macros,
- -llvmlibc-restrict-system-libc-headers,
- -modernize-macro-to-enum,
- -performance-no-int-to-ptr,
+ -llvmlibc-*,
-readability-identifier-length,
CheckOptions:
- key: hicpp-uppercase-literal-suffix.NewSuffixes
@@ -20,5 +15,5 @@ CheckOptions:
- key: readability-uppercase-literal-suffix.NewSuffixes
value: L;U;f
FormatStyle: file
-HeaderFilterRegex: 'lv2/.*\.h'
+HeaderFilterRegex: 'lv2/.*\.h$'
WarningsAsErrors: '*'