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 --- .clang-tidy | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) (limited to '.clang-tidy') diff --git a/.clang-tidy b/.clang-tidy index cbea2d8..1a15411 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -3,24 +3,14 @@ Checks: > *, - -*-magic-numbers, - -*-narrowing-conversions, - -*-uppercase-literal-suffix, -altera-*, - -bugprone-easily-swappable-parameters, - -bugprone-macro-parentheses, - -bugprone-suspicious-string-compare, - -cert-err33-c, - -cert-err34-c, - -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, - -clang-analyzer-unix.Malloc, - -hicpp-signed-bitwise, - -llvm-header-guard, + -clang-diagnostic-unused-macros, -llvmlibc-*, - -misc-no-recursion, - -performance-no-int-to-ptr, - -readability-function-cognitive-complexity, - -readability-identifier-length, +CheckOptions: + - key: hicpp-uppercase-literal-suffix.NewSuffixes + value: 'L;U;UL;ULL' + - key: readability-uppercase-literal-suffix.NewSuffixes + value: 'L;U;UL;ULL' WarningsAsErrors: '*' -HeaderFilterRegex: '.*' +HeaderFilterRegex: '.*/sratom/[^/]+.h' FormatStyle: file -- cgit v1.2.1