Fix GPU X buffer ops with empty domain
[gromacs.git] / src / .clang-tidy.new.code
blob98c36ee119803b616b24a6288c586f1d77864b8b
1 Checks:  clang-diagnostic-*,-clang-analyzer-*,
2          bugprone-*,misc-*,readability-*,performance-*,mpi-*,-misc-incorrect-roundings,
3          -readability-else-after-return,
4          modernize-use-nullptr,modernize-use-emplace,
5          modernize-make-unique,modernize-make-shared,
6          modernize-avoid-bind,
7          modernize-use-override,
8          modernize-redundant-void-arg,modernize-use-bool-literals,
9          cppcoreguidelines-*,-cppcoreguidelines-pro-type-reinterpret-cast,-cppcoreguidelines-pro-type-const-cast,
10          -cppcoreguidelines-pro-type-static-cast-downcast,
11          -cppcoreguidelines-special-member-functions,-cppcoreguidelines-pro-type-vararg,
12          -cppcoreguidelines-pro-bounds-constant-array-index,
13          -cppcoreguidelines-pro-bounds-array-to-pointer-decay,
14          -cppcoreguidelines-pro-bounds-pointer-arithmetic,
15          -cppcoreguidelines-avoid-goto,
16          google-*,-google-build-using-namespace,-google-explicit-constructor,
17          -google-readability-todo,
18          -google-runtime-int,
19          -cppcoreguidelines-non-private-member-variables-in-classes,
20          -misc-non-private-member-variables-in-classes,
21          -readability-isolate-declaration,
22          -cppcoreguidelines-avoid-c-arrays,
23          -cppcoreguidelines-avoid-magic-numbers,
24          -readability-magic-numbers,
25          -cppcoreguidelines-macro-usage,
26          -cppcoreguidelines-narrowing-conversions,
27          -bugprone-narrowing-conversions
28 HeaderFilterRegex: .*
29 CheckOptions:
30   - key:           cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
31     value:         1
32   - key:           modernize-make-unique.IncludeStyle
33     value:         google
34   - key:           modernize-make-shared.IncludeStyle
35     value:         google
36   - key:           readability-implicit-bool-conversion.AllowIntegerConditions
37     value:         1
38   - key:           readability-implicit-bool-conversion.AllowPointerConditions
39     value:         1
40   - key:           bugprone-dangling-handle.HandleClasses
41     value:         std::basic_string_view; nonstd::sv_lite::basic_string_view
42 # Permit passing shard pointers by value for sink parameters
43   - key:           performance-unnecessary-copy-initialization.AllowedTypes
44     value:         shared_ptr
45   - key:           performance-unnecessary-value-param.AllowedTypes
46     value:         shared_ptr