[WebAssembly] Fix asan issue from https://reviews.llvm.org/D121349
[llvm-project.git] / libcxx / .clang-tidy
blob45adea9b1b153510147a2093828cdb5e5eb59035
1 InheritParentConfig: true
2 Checks: >
3   bugprone-copy-constructor-init,
4   bugprone-dangling-handle,
5   bugprone-infinite-loop,
7   -llvm-else-after-return,
8   -llvm-header-guard,
9   -llvm-qualified-auto,
11   -misc-unconventional-assign-operator,
13   modernize-redundant-void-arg,
15   readability-duplicate-include,
16   readability-function-cognitive-complexity,
17   readability-function-size,
18   -readability-identifier-naming,
19   readability-misplaced-array-index,
20   readability-redundant-control-flow,
21   readability-redundant-function-ptr-dereference,
22   readability-redundant-preprocessor,
23   readability-simplify-subscript-expr,
24   readability-uniqueptr-delete-release,
26 CheckOptions:
27   - key:   readability-function-cognitive-complexity.Threshold
28     value: 143 # TODO: bring that number down
29   - key:   readability-function-size.LineThreshold
30     value: 194 # TODO: bring that number down
32 # TODO: investigate these checks
33 # bugprone-branch-clone,
34 # bugprone-macro-parentheses,
35 # cppcoreguidelines-prefer-member-initializer,
36 # modernize-loop-convert,
37 # modernize-use-bool-literals,
38 # modernize-use-default-member-init,
39 # modernize-use-equals-default,
40 # modernize-use-equals-delete,
41 # modernize-use-nullptr,
42 # modernize-use-override,
43 # portability-restrict-system-includes,
44 # readability-function-cognitive-complexity,
45 # readability-implicit-bool-conversion,
46 # readability-isolate-declaration,
47 # readability-redundant-access-specifiers,
48 # readability-redundant-declaration,
49 # readability-redundant-member-init,
50 # readability-simplify-boolean-expr,