forked from dealii/dealii
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
41 lines (38 loc) · 1.09 KB
/
.clang-tidy
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
34
35
36
37
38
39
40
41
# Settings file automatically used by clang-tidy
#
# See ./contrib/utilities/run_clang_tidy.sh for details
#
# Rationale for disabling warnings:
#
# - selected modernize-* warnings:
# Some of these produce a lot of noise for limited utility.
#
# - performance-inefficient-string-concatenation:
# We don't care about "a"+to_string(5)+...
#
# - performance-no-automatic-move:
# All modern compilers perform the return value optimization and we prefer
# to keep things const.
#
Checks: >
-*,
cppcoreguidelines-pro-type-static-cast-downcast,
modernize-*,
-modernize-avoid-c-arrays,
-modernize-concat-nested-namespaces,
-modernize-pass-by-value,
-modernize-raw-string-literal,
-modernize-return-braced-init-list,
-modernize-use-auto,
-modernize-use-default-member-init,
-modernize-use-nodiscard,
-modernize-use-override,
-modernize-use-trailing-return-type,
-modernize-use-transparent-functors,
mpi-*,
performance-*,
-performance-inefficient-string-concatenation,
-performance-no-automatic-move,
-performance-avoid-endl,
readability-qualified-auto
WarningsAsErrors: '*'