Repository navigation
Expand file tree
/
Copy path.clang-tidy
More file actions
47 lines (46 loc) · 1.61 KB
/
Copy path.clang-tidy
File metadata and controls
47 lines (46 loc) · 1.61 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
---
# Narrow allowlist: cosmetic / low-risk fixes only.
# Excluded on purpose:
# - readability-redundant-access-specifiers: strips private: before
# members sitting after a `private slots:` section, breaking moc.
# - modernize-pass-by-value / performance-unnecessary-value-param:
# rewrites slot signatures (QString -> const QString&), silently
# breaking string-based SIGNAL()/SLOT() connects.
# - readability-identifier-naming: mass-renames.
# - cppcoreguidelines-*: noisy, Qt-hostile defaults.
Checks: >
-*,
modernize-use-nullptr,
modernize-use-override,
modernize-use-using,
modernize-use-nodiscard,
modernize-use-equals-default,
modernize-use-equals-delete,
modernize-use-emplace,
modernize-use-bool-literals,
modernize-raw-string-literal,
modernize-loop-convert,
modernize-make-unique,
modernize-make-shared,
modernize-deprecated-headers,
readability-container-size-empty,
readability-redundant-string-cstr,
readability-redundant-string-init,
readability-redundant-smartptr-get,
readability-redundant-member-init,
readability-simplify-boolean-expr,
readability-static-definition-in-anonymous-namespace,
performance-for-range-copy,
performance-implicit-conversion-in-loop,
performance-inefficient-string-concatenation,
performance-inefficient-vector-operation,
performance-move-const-arg,
performance-noexcept-move-constructor,
performance-trivially-destructible,
performance-type-promotion-in-math-fn,
bugprone-use-after-move,
bugprone-macro-parentheses,
bugprone-string-constructor,
bugprone-suspicious-string-compare
WarningsAsErrors: ''
FormatStyle: file