aboutsummaryrefslogtreecommitdiff
path: root/.clang-tidy
blob: ccfdf9e7d6cf70fe41809f671387d6bf6c8b81cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
UseColor: true
Checks:
  - -*
  - bugprone-*
    # too many warnings
  - -bugprone-assignment-in-if-condition
    # too many warnings
  - -bugprone-narrowing-conversions
    # kind of nonsense
  - -bugprone-easily-swappable-parameters
    # too many warnings for now
  - -bugprone-implicit-widening-of-multiplication-result
    # Lix's exception handling is Questionable
  - -bugprone-empty-catch
    # many warnings
  - -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'