forked from KDE/okular
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-tidy
More file actions
46 lines (43 loc) · 1.28 KB
/
.clang-tidy
File metadata and controls
46 lines (43 loc) · 1.28 KB
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
---
Checks: >
clang-diagnostic-*,
clang-analyzer-*,
-*,
performance-*,
bugprone-*,
readability-inconsistent-declaration-parameter-name,
readability-string-compare,
readability-braces-around-statements,
modernize-redundant-void-arg,
modernize-use-bool-literals,
modernize-make-unique,
modernize-make-shared,
modernize-use-override,
modernize-use-equals-delete,
modernize-use-emplace,
modernize-loop-convert,
modernize-use-nullptr,
google-explicit-constructor,
-bugprone-assignment-in-if-condition,
-bugprone-switch-missing-default-case,
-bugprone-macro-parentheses,
-bugprone-narrowing-conversions,
-bugprone-branch-clone,
-bugprone-incorrect-roundings,
-bugprone-suspicious-include,
-bugprone-reserved-identifier,
-performance-no-automatic-move,
-bugprone-suspicious-enum-usage,
-bugprone-easily-swappable-parameters,
-performance-no-int-to-ptr,
-bugprone-implicit-widening-of-multiplication-result,
-performance-unnecessary-copy-initialization,
-performance-enum-size
WarningsAsErrors: '*'
HeaderFilterRegex: '.*/okular/.*'
FormatStyle: none
User: user
CheckOptions:
- key: 'bugprone-unused-return-value.AllowCastToVoid'
value: 'true'
...