From 6fb3fa46a3b5b11706e0afa3d5f9d4904f53b664 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 12 Dec 2022 16:10:11 -0500 Subject: Strengthen clang-tidy configuration --- .clang-tidy | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to '.clang-tidy') diff --git a/.clang-tidy b/.clang-tidy index 0b547da..89606da 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -4,12 +4,9 @@ Checks: > -*-magic-numbers, -*-named-parameter, -*-narrowing-conversions, - -*-reserved-identifier, - -*-uppercase-literal-suffix, -altera-*, -bugprone-branch-clone, -bugprone-easily-swappable-parameters, - -bugprone-macro-parentheses, -cert-err33-c, -cert-err34-c, -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, @@ -33,6 +30,11 @@ Checks: > -readability-implicit-bool-conversion, -readability-non-const-parameter, -readability-static-accessed-through-instance, +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: '.*' FormatStyle: file -- cgit v1.2.1