diff --git a/.clang-tidy b/.clang-tidy index 6fa2b16ee00..36db48bc61c 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -41,6 +41,8 @@ WarningsAsErrors: '' HeaderFilterRegex: 'AK|Userland|Kernel|Tests' FormatStyle: none CheckOptions: + - key: bugprone-dangling-handle.HandleClasses + value: 'AK::StringView;AK::Span' - key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic value: true - key: readability-implicit-bool-conversion.AllowPointerConditions