summaryrefslogtreecommitdiffstats
path: root/.clang-tidy
blob: e225e471a008ca1b588e9ce521a901133b49b714 (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: "*, \
  -altera-struct-pack-align, \
  -altera-unroll-loops, \
  -altera-id-dependent-backward-branch, \
  -bugprone-easily-swappable-parameters, \
  -cppcoreguidelines-avoid-magic-numbers, \
  -cppcoreguidelines-non-private-member-variables-in-classes, \
  -fuchsia-default-arguments-calls, \
  -fuchsia-default-arguments-declarations, \
  -fuchsia-overloaded-operator, \
  -fuchsia-trailing-return, \
  -google-build-using-namespace, \
  -google-runtime-int, \
  -llvmlibc-callee-namespace, \
  -llvmlibc-implementation-in-namespace, \
  -llvmlibc-restrict-system-libc-headers, \
  -modernize-use-trailing-return-type, \
  -misc-non-private-member-variables-in-classes, \
  -readability-magic-numbers"
WarningsAsErrors: "*"
HeaderFilterRegex: "."
CheckOptions:
  - { key: readability-identifier-naming.ClassCase,                value: CamelCase  }
  - { key: readability-identifier-naming.EnumCase,                 value: CamelCase  }
  - { key: readability-identifier-naming.FunctionCase,             value: lower_case }
  - { key: readability-identifier-naming.GlobalConstantCase,       value: UPPER_CASE }
  - { key: readability-identifier-naming.NamespaceCase,            value: lower_case }
  - { key: readability-identifier-naming.PrivateMemberPrefix,      value: m_         }
  - { key: readability-identifier-naming.StructCase,               value: CamelCase  }
  - { key: readability-function-cognitive-complexity.IgnoreMacros, value: "true"     }