aboutsummaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy14
1 files changed, 14 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 0cc1f2520..87f6d0404 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -16,6 +16,20 @@ 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
+ - lix-*
+ # This can not yet be applied to Lix itself since we need to do source
+ # reorganization so that lix/ include paths work.
+ - -lix-fixincludes
+ # This lint is included as an example, but the lib function it replaces is
+ # already gone.
+ - -lix-hasprefixsuffix
+
CheckOptions:
bugprone-reserved-identifier.AllowedIdentifiers: '__asan_default_options'