From c41d9f942cd81e3125896c4727e808072354820a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 18 Jul 2024 17:38:35 -0400 Subject: Enable clang-tidy check for uppercase integer literal suffixes --- .clang-tidy | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.clang-tidy b/.clang-tidy index ff7e030..b7c88e6 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -10,7 +10,6 @@ Checks: > -*-named-parameter, -*-narrowing-conversions, -*-no-malloc, - -*-uppercase-literal-suffix, -*-use-auto, -*-use-nullptr, -*-vararg, @@ -82,6 +81,11 @@ Checks: > -readability-redundant-casting, -readability-redundant-inline-specifier, -readability-simplify-boolean-expr, +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