-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.clang-tidy
49 lines (48 loc) · 1.61 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
42
43
44
45
46
47
48
49
---
# readability-make-member-function-const is great, but it also suggests that
# in cases where we return a non-const pointer. So good to check, not by
# default.
#
# readability-qualified-auto is useful in general, however it suggests
# to convert iterators (e.g. std::string_view::begin()) to the pointer it
# returns; however since the iterator is implementation defined, this is not
# a valid assertion. Running the check every now and then manually and
# fixing all the non-iterator cases is useful though. Off by default.
#
# Some other not entirely useful checks are also disabled, to be revisited
# later.
##
Checks: >
clang-diagnostic-*,clang-analyzer-*,
abseil-*,
readability-*,
-readability-make-member-function-const,
-readability-qualified-auto,
-readability-braces-around-statements,
-readability-magic-numbers,
-readability-implicit-bool-conversion,
-readability-isolate-declaration,
-readability-else-after-return,
-readability-uppercase-literal-suffix,
-readability-function-cognitive-complexity,
-readability-identifier-length,
-readability-simplify-boolean-expr,
google-*,
-google-readability-braces-around-statements,
-google-readability-todo,
-google-readability-casting,
performance-*,
bugprone-*,
-bugprone-narrowing-conversions,
-bugprone-string-integer-assignment,
-bugprone-parent-virtual-call,
-bugprone-easily-swappable-parameters,
-bugprone-switch-missing-default-case,
modernize-use-override,
misc-*,
-misc-non-private-member-variables-in-classes,
-misc-no-recursion,
WarningsAsErrors: ''
HeaderFilterRegex: ''
AnalyzeTemporaryDtors: false
...