forked from CoatiSoftware/Sourcetrail
-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.clang-tidy
executable file
·66 lines (54 loc) · 2.05 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Note: tabs are not allowed!
---
Checks: >
-*,
bugprone-copy-constructor-init,
# bugprone-parent-virtual-call, # It is not clear whether the detected cases are intentional,
bugprone-shared-ptr-array-mismatch,
bugprone-standalone-empty,
bugprone-string-constructor,
bugprone-unique-ptr-array-mismatch,
# cppcoreguidelines-pro-type-member-init,
llvm-include-order,
# misc-include-cleaner, # Breaks to many files and replaces the Qt header with lower level ones,
misc-unused-parameters,
modernize-use-bool-literals,
modernize-use-equals-default,
modernize-use-override,
modernize-use-default-member-init,
modernize-use-nullptr,
readability-convert-member-functions-to-static,
# readability-implicit-bool-conversion, # TODO: Later
readability-make-member-function-const,
readability-qualified-auto,
readability-redundant-member-init,
readability-redundant-string-cstr,
readability-redundant-string-init,
readability-simplify-boolean-expr,
readability-static-accessed-through-instance
WarningsAsErrors: ''
HeaderFilterRegex: '.*'
FormatStyle: 'file'
CheckOptions:
- key: bugprone-string-constructor.StringNames
value: ' ::std::basic_string;::std::basic_string_view;QString'
- key: cppcoreguidelines-pro-type-member-init.UseAssignment
value: '1'
- key: misc-unused-parameters.StrictMode
value: '1'
- key: modernize-use-bool-literals.IgnoreMacros
value: '0'
- key: modernize-use-equals-default.IgnoreMacros
value: '0'
- key: modernize-use-override.IgnoreDestructors
value: '0'
- key: modernize-use-default-member-init.UseAssignment
value: '1'
- key: modernize-use-default-member-init.IgnoreMacros
value: '0'
- key: readability-redundant-member-init.IgnoreBaseInCopyConstructors
value: '1'
- key: readability-redundant-string-init.StringNames
value: ' ::std::basic_string;::std::basic_string_view;QString'
- key: readability-simplify-boolean-expr.SimplifyDeMorgan
value: '0'