From 9fb939e1a9fb1b0f13e1818e1c81bc15b70e8c64 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 10 Dec 2022 12:11:49 -0500 Subject: Make clang-tidy configuration clean when run via meson --- test/.clang-tidy | 13 +------------ test/headers/.clang-tidy | 2 +- 2 files changed, 2 insertions(+), 13 deletions(-) (limited to 'test') diff --git a/test/.clang-tidy b/test/.clang-tidy index 5b5e5c9..e4b41e4 100644 --- a/test/.clang-tidy +++ b/test/.clang-tidy @@ -2,19 +2,8 @@ # SPDX-License-Identifier: 0BSD OR ISC Checks: > - *, -*-magic-numbers, - -*-uppercase-literal-suffix, - -altera-*, - -bugprone-macro-parentheses, -bugprone-suspicious-string-compare, -cert-err33-c, - -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, - -hicpp-signed-bitwise, - -llvm-header-guard, - -llvmlibc-*, - -performance-no-int-to-ptr, -readability-identifier-length, -WarningsAsErrors: '*' -HeaderFilterRegex: '.*' -FormatStyle: file +InheritParentConfig: true diff --git a/test/headers/.clang-tidy b/test/headers/.clang-tidy index 924f1d5..9457bcf 100644 --- a/test/headers/.clang-tidy +++ b/test/headers/.clang-tidy @@ -6,5 +6,5 @@ Checks: > -altera-*, -llvmlibc-*, WarningsAsErrors: '*' -HeaderFilterRegex: '.*/sratom\.h' +HeaderFilterRegex: '.*/sratom/[^/]+.h' FormatStyle: file -- cgit v1.2.1