-
Notifications
You must be signed in to change notification settings - Fork 178
/
.clang-tidy-for-the-future
45 lines (42 loc) · 1.29 KB
/
.clang-tidy-for-the-future
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
42
43
44
45
---
# This clang-tidy settings have been taken from here:
# https://github.com/googleapis/google-cloud-cpp/blob/main/.clang-tidy
#
# The first block are the exact google settings.
# The second block are warnings that I assumed to be irrelevant
# The third block are warnings that I would actually like to take care of for future projects
#
Checks: "-*,
bugprone-*,
google-*,
misc-*,
modernize-*,
performance-*,
portability-*,
readability-*,
-google-readability-braces-around-statements,
-google-readability-namespace-comments,
-google-runtime-references,
-misc-non-private-member-variables-in-classes,
-modernize-return-braced-init-list,
-modernize-use-trailing-return-type,
-modernize-avoid-c-arrays,
-performance-move-const-arg,
-readability-braces-around-statements,
-readability-identifier-length,
-readability-magic-numbers,
-readability-named-parameter,
-readability-redundant-declaration,
-readability-function-cognitive-complexity,
-bugprone-narrowing-conversions,
-bugprone-easily-swappable-parameters,
-bugprone-implicit-widening-of-multiplication-result,
-readability-else-after-return,
-google-readability-todo
-modernize-use-auto,
-google-runtime-int,
-modernize-pass-by-value,
"
WarningsAsErrors: ''
HeaderFilterRegex: ''
FormatStyle: none