aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-tidy
blob: 532cb65e411963de6d4817c4a9e1ce1eea27ceee (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
29
30
31
Checks:  'clang-diagnostic-*, clang-analyzer-*,
          modernize-*, bugprone-*, performance-*,
          unused-*,misc-*,
          readability-redundant-*,
          -bugprone-reserved-identifier, -bugprone-easily-swappable-parameters, -bugprone-assignment-in-if-condition,
          -bugprone-misplaced-widening-cast, -bugprone-branch-clone,
          -clang-diagnostic-unknown-warning-option,
          -clang-analyzer-security.insecureAPI.bzero,
          -clang-analyzer-optin.core.EnumCastOutOfRange,
          -modernize-use-auto, -modernize-use-nodiscard, -modernize-use-using, -modernize-use-trailing-return-type,
          -modernize-avoid-c-arrays, -modernize-use-default-member-init, -modernize-return-braced-init-list,
          -modernize-avoid-bind, -modernize-use-transparent-functors,
          -modernize-use-constraints,
          -modernize-type-traits, -modernize-loop-convert, -modernize-pass-by-value,
          -performance-avoid-endl, -performance-enum-size,
          -misc-macro-parentheses, -misc-non-private-member-variables-in-classes, -misc-include-cleaner,
          -misc-const-correctness, -misc-unconventional-assign-operator, -misc-use-anonymous-namespace,
          -misc-misplaced-const, -misc-no-recursion, -misc-confusable-identifiers,
          -readability-redundant-declaration, -readability-redundant-inline-specifier, -readability-redundant-member-init,
          -readability-redundant-access-specifiers'

CheckOptions:
  - key:             modernize-use-default-member-init.UseAssignment
    value:           'true'

WarningsAsErrors: '*'
HeaderFilterRegex: '(include/cpp_basics/.*)\.hpp'
# AnalyzeTemporaryDtors: false
FormatStyle:     none
InheritParentConfig: false
# User:            sven