Fix GCC build problem with 288f05f related to SmallVector. (#116958)
[llvm-project.git] / mlir / .clang-tidy
blobeb8cbbeb9723cfe578cd615eb2803cf0934d8d2e
1 InheritParentConfig: true
2 Checks: >
3         -misc-const-correctness,
4         bugprone-argument-comment,
5         bugprone-assert-side-effect,
6         bugprone-branch-clone,
7         bugprone-copy-constructor-init,
8         bugprone-dangling-handle,
9         bugprone-dynamic-static-initializers,
10         bugprone-macro-parentheses,
11         bugprone-macro-repeated-side-effects,
12         bugprone-misplaced-widening-cast,
13         bugprone-move-forwarding-reference,
14         bugprone-multiple-statement-macro,
15         bugprone-suspicious-semicolon,
16         bugprone-swapped-arguments,
17         bugprone-terminating-continue,
18         bugprone-unused-raii,
19         bugprone-unused-return-value,
20         misc-redundant-expression,
21         misc-static-assert,
22         misc-unused-using-decls,
23         modernize-use-bool-literals,
24         modernize-loop-convert,
25         modernize-make-unique,
26         modernize-raw-string-literal,
27         modernize-use-equals-default,
28         modernize-use-default-member-init,
29         modernize-use-emplace,
30         modernize-use-nullptr,
31         modernize-use-override,
32         modernize-use-using,
33         performance-for-range-copy,
34         performance-implicit-conversion-in-loop,
35         performance-inefficient-algorithm,
36         performance-inefficient-vector-operation,
37         performance-move-const-arg,
38         performance-no-automatic-move,
39         performance-trivially-destructible,
40         performance-unnecessary-copy-initialization,
41         performance-unnecessary-value-param,
42         readability-avoid-const-params-in-decls,
43         readability-const-return-type,
44         readability-container-size-empty,
45         readability-inconsistent-declaration-parameter-name,
46         readability-misleading-indentation,
47         readability-redundant-control-flow,
48         readability-redundant-smartptr-get,
49         readability-simplify-boolean-expr,
50         readability-simplify-subscript-expr,
51         readability-use-anyofallof
54 CheckOptions:
55   - key:             readability-identifier-naming.MemberCase
56     value:           camelBack
57   - key:             readability-identifier-naming.ParameterCase
58     value:           camelBack
59   - key:             readability-identifier-naming.VariableCase
60     value:           camelBack