mirror of https://github.com/ninja-build/ninja.git
Add cppcoreguidelines-pro-type-cstyle-cast to clang-tidy config
Prevents that someone re-introduces C-style casts.
This commit is contained in:
parent
cd7364e3e9
commit
db5c50e48d
|
@ -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,
|
||||
'
|
||||
|
|
Loading…
Reference in New Issue