aboutsummaryrefslogtreecommitdiff
path: root/.clang-tidy
blob: 3ad114044e21a972379b9d16f6cd7f1a51d383b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
# Enable all modernize checks, but explicitly exclude trailing return types
Checks: >
  -*,
  modernize-*,
  google-readability-casting,
  cppcoreguidelines-pro-type-cstyle-cast,
  -modernize-use-trailing-return-type

# Pass the C++14 flag to the internal Clang compiler
ExtraArgs: ['-std=c++14']

CheckOptions:
  - key:             modernize-loop-convert.MinConfidence
    value:           reasonable
  - key:             modernize-use-auto.MinTypeNameLength
    value:           5
...