annotate libcxx/.clang-tidy @ 259:011663b4a808

remove duplicate setjmp in return continuation
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 12 Oct 2023 15:52:37 +0900
parents 1f2b6ac9f198
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
236
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
1 Checks: >
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
2 bugprone-copy-constructor-init,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
3 bugprone-dangling-handle,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
4 bugprone-infinite-loop,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
5 bugprone-stringview-nullptr,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
6 bugprone-use-after-move,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
7
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
8 llvm-include-order,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
9 llvm-namespace-comment,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
10
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
11 misc-definitions-in-headers,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
12 misc-misplaced-const,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
13 misc-non-copyable-objects,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
14 misc-uniqueptr-reset-release,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
15
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
16 modernize-loop-convert,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
17 modernize-redundant-void-arg,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
18 modernize-use-override,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
19
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
20 readability-duplicate-include,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
21 readability-identifier-naming,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
22 readability-function-cognitive-complexity,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
23 readability-function-size,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
24 readability-misplaced-array-index,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
25 readability-redundant-control-flow,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
26 readability-redundant-function-ptr-dereference,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
27 readability-redundant-preprocessor,
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
28 readability-simplify-boolean-expr,
236
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
29 readability-simplify-subscript-expr,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
30 readability-uniqueptr-delete-release,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
31
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
32 CheckOptions:
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
33 - key: readability-function-cognitive-complexity.Threshold
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
34 value: 143 # TODO: bring that number down
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
35 - key: readability-function-size.LineThreshold
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
36 value: 194 # TODO: bring that number down
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
37 - key: readability-identifier-naming.GetConfigPerFile
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
38 value: false
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
39 - key: readability-identifier-naming.ParameterCase
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
40 value: lower_case
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
41 - key: readability-identifier-naming.ParameterPrefix
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
42 value: __
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
43 - key: readability-identifier-naming.PrivateMemberCase
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
44 value: lower_case
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
45 - key: readability-identifier-naming.PrivateMemberPrefix
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
46 value: __
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
47 - key: readability-identifier-naming.PrivateMemberSuffix
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
48 value: _
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
49 - key: readability-identifier-naming.LocalVariableCase
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
50 value: lower_case
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
51 - key: readability-identifier-naming.LocalVariablePrefix
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
52 value: __
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
53 - key: readability-identifier-naming.TemplateParameterCase
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
54 value: CamelCase
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
55 - key: readability-identifier-naming.TemplateParameterPrefix
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
56 value: _
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
57 - key: readability-identifier-naming.TemplateParameterIgnoredRegexp
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
58 value: (.*\:auto|expr-type) # This is https://llvm.org/PR56464
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
59 - key: readability-identifier-naming.ValueTemplateParameterIgnoredRegexp # TODO: enforce naming of variable parameters
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
60 value: .*
236
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
61
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
62 # TODO: investigate these checks
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
63 # bugprone-branch-clone,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
64 # bugprone-macro-parentheses,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
65 # cppcoreguidelines-prefer-member-initializer,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
66 # misc-unused-parameters,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
67 # modernize-use-bool-literals,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
68 # modernize-use-default-member-init,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
69 # modernize-use-equals-default,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
70 # modernize-use-equals-delete,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
71 # modernize-use-nullptr,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
72 # portability-restrict-system-includes,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
73 # readability-function-cognitive-complexity,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
74 # readability-implicit-bool-conversion,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
75 # readability-isolate-declaration,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
76 # readability-redundant-access-specifiers,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
77 # readability-redundant-declaration,
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
78 # readability-redundant-member-init,
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 236
diff changeset
79 #