summaryrefslogtreecommitdiffstats
path: root/.clang-tidy
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-07-18 17:38:35 -0400
committerDavid Robillard <d@drobilla.net>2024-07-18 17:38:35 -0400
commitc41d9f942cd81e3125896c4727e808072354820a (patch)
tree712ae953be5a5df0ac419892642cce4d0e534d4a /.clang-tidy
parent59bcfaafcad0f3d85d33fadf21d4d0a2e6575a64 (diff)
downloadganv-c41d9f942cd81e3125896c4727e808072354820a.tar.gz
ganv-c41d9f942cd81e3125896c4727e808072354820a.tar.bz2
ganv-c41d9f942cd81e3125896c4727e808072354820a.zip
Enable clang-tidy check for uppercase integer literal suffixes
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy6
1 files changed, 5 insertions, 1 deletions
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