clang-tidy modernize
[gromacs.git] / src / .clang-tidy
blob95f603173a96b9870120b85a58636384b23b83d1
1 Checks:  clang-diagnostic-*,clang-analyzer-*,-clang-analyzer-security.insecureAPI.strcpy,
2          bugprone-*,misc-*,readability-*,performance-*,mpi-*,-misc-incorrect-roundings,
3          -readability-inconsistent-declaration-parameter-name,-readability-implicit-bool-conversion,
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-redundant-void-arg,modernize-use-bool-literals,
9          cppcoreguidelines-*,-cppcoreguidelines-pro-*,-cppcoreguidelines-owning-memory,
10          -cppcoreguidelines-no-malloc,-cppcoreguidelines-special-member-functions,
11          google-*,-google-build-using-namespace,-google-explicit-constructor,
12          -google-readability-function-size,-google-readability-todo,-google-runtime-int
14 CheckOptions:
15   - key:           cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
16     value:         1
17   - key:           modernize-make-unique.MakeSmartPtrFunction
18     value:         gmx::compat::make_unique
19   - key:           modernize-make-unique.MakeSmartPtrFunctionHeader
20     value:         gromacs/compat/make_unique.h
21   - key:           modernize-make-unique.IncludeStyle
22     value:         google
23   - key:           modernize-make-shared.IncludeStyle
24     value:         google