From e03d5c578f72c5499e0fdebeefdea03b14ef27f5 Mon Sep 17 00:00:00 2001 From: Aleksandr Semenov Date: Tue, 24 Oct 2023 18:59:14 +0300 Subject: [PATCH] Enable checking for const_cast Signed-off-by: Aleksandr Semenov --- scripts/clang-tidy/clang_tidy_check.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/clang-tidy/clang_tidy_check.py b/scripts/clang-tidy/clang_tidy_check.py index c83126c83..fce039906 100755 --- a/scripts/clang-tidy/clang_tidy_check.py +++ b/scripts/clang-tidy/clang_tidy_check.py @@ -149,8 +149,6 @@ default_disabled_checks = [ # Look if we want to use GSL or gsl-lite "-cppcoreguidelines-pro-bounds-constant-array-index", # Consider to remove from global list - "-cppcoreguidelines-pro-type-const-cast", - # Consider to remove from global list "-cppcoreguidelines-pro-type-reinterpret-cast", # Look into it "-cppcoreguidelines-pro-type-static-cast-downcast", -- Gitee