Add cppcoreguidelines-pro-type-cstyle-cast to clang-tidy config

Prevents that someone re-introduces C-style casts.
This commit is contained in:
Christoph Grüninger 2024-05-02 19:54:08 +02:00
parent cd7364e3e9
commit db5c50e48d
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ Checks: '
,readability-redundant-string-cstr,
,readability-redundant-string-init,
,readability-simplify-boolean-expr,
,cppcoreguidelines-pro-type-cstyle-cast,
'
WarningsAsErrors: '
,readability-avoid-const-params-in-decls,
@ -14,4 +15,5 @@ WarningsAsErrors: '
,readability-redundant-string-cstr,
,readability-redundant-string-init,
,readability-simplify-boolean-expr,
,cppcoreguidelines-pro-type-cstyle-cast,
'