Rename gmx Variant to Any
[gromacs.git] / src / .clang-tidy
blob20be0b77f7be9e9af9155b8fcabf2578a9e89b0f
1 Checks:  clang-diagnostic-*,-clang-analyzer-*,-clang-analyzer-security.insecureAPI.strcpy,
2          bugprone-*,misc-*,readability-*,performance-*,mpi-*,
3          -readability-inconsistent-declaration-parameter-name,
4          -readability-function-size,-readability-else-after-return,
5          modernize-use-nullptr,modernize-use-emplace,
6          modernize-make-unique,modernize-make-shared,
7          modernize-avoid-bind,
8          modernize-use-override,
9          modernize-redundant-void-arg,modernize-use-bool-literals,
10          cppcoreguidelines-*,-cppcoreguidelines-pro-*,-cppcoreguidelines-owning-memory,
11          -cppcoreguidelines-no-malloc,-cppcoreguidelines-special-member-functions,
12          -cppcoreguidelines-avoid-goto,
13          google-*,-google-build-using-namespace,-google-explicit-constructor,
14          -google-readability-function-size,-google-readability-todo,-google-runtime-int
15 HeaderFilterRegex: .*
16 CheckOptions:
17   - key:           cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
18     value:         1
19   - key:           modernize-make-unique.MakeSmartPtrFunction
20     value:         gmx::compat::make_unique
21   - key:           modernize-make-unique.MakeSmartPtrFunctionHeader
22     value:         gromacs/compat/make_unique.h
23   - key:           modernize-make-unique.IncludeStyle
24     value:         google
25   - key:           modernize-make-shared.IncludeStyle
26     value:         google
27   - key:           readability-implicit-bool-conversion.AllowIntegerConditions
28     value:         1
29   - key:           readability-implicit-bool-conversion.AllowPointerConditions
30     value:         1