Transfer information from old how-to section
[gromacs.git] / src / .clang-tidy.new.code
blob65d42e927386104ef8654f30ba769517706e9eb5
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-redundant-void-arg,modernize-use-bool-literals,
8          cppcoreguidelines-*,-cppcoreguidelines-pro-type-reinterpret-cast,-cppcoreguidelines-pro-type-const-cast,
9          -cppcoreguidelines-pro-type-static-cast-downcast,
10          -cppcoreguidelines-special-member-functions,-cppcoreguidelines-pro-type-vararg,
11          -cppcoreguidelines-pro-bounds-constant-array-index,
12          -cppcoreguidelines-pro-bounds-array-to-pointer-decay,
13          -cppcoreguidelines-pro-bounds-pointer-arithmetic,
14          google-*,-google-build-using-namespace,-google-explicit-constructor,
15          -google-readability-todo,
16          -google-runtime-int
17 HeaderFilterRegex: .*
18 CheckOptions:
19   - key:           cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
20     value:         1
21   - key:           modernize-make-unique.MakeSmartPtrFunction
22     value:         gmx::compat::make_unique
23   - key:           modernize-make-unique.MakeSmartPtrFunctionHeader
24     value:         gromacs/compat/make_unique.h
25   - key:           modernize-make-unique.IncludeStyle
26     value:         google
27   - key:           modernize-make-shared.IncludeStyle
28     value:         google
29   - key:           readability-implicit-bool-conversion.AllowIntegerConditions
30     value:         1
31   - key:           readability-implicit-bool-conversion.AllowPointerConditions
32     value:         1