aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-tidy
blob: c84c2301b561db88220ed5f020030bbf133cd5cc (plain) (blame)
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
29
30
31
32
33
---
WarningsAsErrors: '*'
Checks: >
  -*,
  clang-analyzer-*,
  bugprone-*,
    -bugprone-reserved-identifier,
    -bugprone-easily-swappable-parameters,
  cert-*,
  concurrency-*,
  cppcoreguidelines-*,
    -cppcoreguidelines-avoid-do-while,
    -cppcoreguidelines-avoid-magic-numbers,
    -cppcoreguidelines-avoid-reference-coroutine-parameters,
    -cppcoreguidelines-pro-type-*,
  hicpp-*,
    -hicpp-braces-around-statements,
    -hicpp-named-parameter,
    -hicpp-vararg,
  misc-*,
  modernize-*,
  readability-*,
    -readability-braces-around-statements,
    -readability-convert-member-functions-to-static,
    -readability-magic-numbers,
    -readability-named-parameter,
    -readability-identifier-length,
    -readability-function-cognitive-complexity,
  performance-*,

CheckOptions:
  performance-unnecessary-copy-initialization.AllowedTypes: 'nihil::open_flags;tempfile_flags'
  performance-unnecessary-value-param.AllowedTypes: 'nihil::open_flags;tempfile_flags'