Repository navigation
Expand file tree
/
Copy path.clang-tidy
More file actions
81 lines (79 loc) · 2.4 KB
/
Copy path.clang-tidy
File metadata and controls
81 lines (79 loc) · 2.4 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
---
# FluxScript clang-tidy configuration
# Use `make tidy` to run on all source files.
# Use `make tidy FILE=src/compiler/parser.cpp` to run on one file.
Checks: >
clang-analyzer-core.*,
clang-analyzer-cplusplus.*,
clang-analyzer-deadcode.*,
clang-analyzer-nullability.*,
clang-analyzer-security.*,
clang-analyzer-unix.*,
clang-analyzer-osx.*,
bugprone-unused-raii,
bugprone-unused-return-value,
bugprone-sizeof-expression,
bugprone-macro-parentheses,
bugprone-suspicious-missing-comma,
bugprone-suspicious-string-compare,
bugprone-undefined-memory-manipulation,
bugprone-use-after-move,
bugprone-multiple-statement-macro,
bugprone-copy-constructor-init,
bugprone-infinite-loop,
bugprone-forward-declaration-namespace,
bugprone-too-small-loop-variable,
bugprone-unhandled-self-assignment,
bugprone-virtual-near-miss,
performance-unnecessary-copy-initialization,
performance-unnecessary-value-param,
performance-for-range-copy,
performance-move-constructor-init,
performance-trivially-destructible,
performance-noexcept-move-constructor,
modernize-use-nullptr,
modernize-use-override,
modernize-deprecated-headers,
modernize-redundant-void-arg,
modernize-use-default-member-init,
readability-simplify-boolean-expr,
readability-delete-null-pointer,
readability-deleted-default,
readability-redundant-control-flow,
readability-redundant-declaration,
readability-redundant-function-ptr-dereference,
readability-redundant-smartptr-get,
readability-redundant-string-cstr,
readability-redundant-string-init,
readability-misleading-indentation,
readability-non-const-parameter,
readability-static-accessed-through-instance,
readability-string-compare,
misc-definitions-in-headers,
misc-static-assert,
misc-unused-alias-decls,
misc-unused-parameters,
misc-unused-using-decls,
misc-throw-by-value-catch-by-reference,
portability-restrict-qualifier-in-catch,
portability-restrict-system-includes,
cert-err09-cpp,
cert-err61-cpp,
cert-flp30-c,
cert-mem57-cpp,
cert-msc50-cpp,
cert-msc51-cpp,
cert-oop57-cpp,
cert-oop58-cpp,
cert-pos44-c,
concurrency-thread-canceltype-asynchronous,
WarningsAsErrors: >
clang-analyzer-core.*,
clang-analyzer-cplusplus.*,
clang-analyzer-security.*,
clang-analyzer-unix.*,
bugprone-use-after-move,
bugprone-undefined-memory-manipulation,
bugprone-unused-return-value,
FormatStyle: file
...