diff --git a/.clang-tidy b/.clang-tidy index 0cc1f2520..ccfdf9e7d 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -16,6 +16,13 @@ Checks: - -bugprone-unchecked-optional-access # many warnings, seems like a questionable lint - -bugprone-branch-clone + # all thrown exceptions must derive from std::exception + - hicpp-exception-baseclass + # capturing async lambdas are dangerous + - cppcoreguidelines-avoid-capturing-lambda-coroutines + # crimes must be appropriately declared as crimes + - cppcoreguidelines-pro-type-cstyle-cast + CheckOptions: bugprone-reserved-identifier.AllowedIdentifiers: '__asan_default_options'