Apply misc clang-tidy-11 fixes
authorPaul Bauer <paul.bauer.q@gmail.com>
Fri, 23 Apr 2021 06:57:19 +0000 (08:57 +0200)
committerPaul Bauer <paul.bauer.q@gmail.com>
Wed, 5 May 2021 10:39:56 +0000 (12:39 +0200)
commit334362e124badf1db0044c3aff838bdc5f939bcc
tree8f40d7aaf1b46c45e3daa97d5ab8c07d6db8315c
parente417533cd6417d1c7f3c8ccbf4f366deee9d60c5
Apply misc clang-tidy-11 fixes

Needed to build with newer version.
I also had to add a number of new exclusions in the base configuration
files. Those are mainly for recursive functions and use of global
variables. Tests needed their own configuration files to exclude check
for non const global variables.

Refs #3897
45 files changed:
api/legacy/include/gromacs/utility/listoflists.h
src/.clang-tidy
src/.clang-tidy.new.code
src/api/cpp/tests/.clang-tidy [new file with mode: 0644]
src/api/cpp/workflow/tests/.clang-tidy [new file with mode: 0644]
src/external/.clang-tidy
src/gromacs/compat/tests/.clang-tidy [new file with mode: 0644]
src/gromacs/coordinateio/tests/.clang-tidy [new file with mode: 0644]
src/gromacs/coordinateio/tests/coordinate_test.h
src/gromacs/energyanalysis/tests/.clang-tidy [new file with mode: 0644]
src/gromacs/essentialdynamics/edsam.cpp
src/gromacs/ewald/pme_gpu_program_impl.cpp
src/gromacs/gmxana/gmx_nmr.cpp
src/gromacs/gmxana/gmx_wheel.cpp
src/gromacs/gmxlib/nonbonded/nb_free_energy.h
src/gromacs/gmxpreprocess/ter_db.cpp
src/gromacs/imd/imd.cpp
src/gromacs/math/densityfit.cpp
src/gromacs/math/tests/.clang-tidy [new file with mode: 0644]
src/gromacs/math/tests/multidimarray.cpp
src/gromacs/mdlib/energyoutput.cpp
src/gromacs/mdlib/membed.h
src/gromacs/mdlib/tests/.clang-tidy [new file with mode: 0644]
src/gromacs/mdrun/replicaexchange.cpp
src/gromacs/mdrunutility/tests/.clang-tidy [new file with mode: 0644]
src/gromacs/mdrunutility/threadaffinity.cpp
src/gromacs/mdspan/tests/.clang-tidy [new file with mode: 0644]
src/gromacs/mdtypes/iforceprovider.cpp
src/gromacs/mdtypes/tests/.clang-tidy [new file with mode: 0644]
src/gromacs/onlinehelp/tests/.clang-tidy [new file with mode: 0644]
src/gromacs/pbcutil/pbc.cpp
src/gromacs/pbcutil/pbcenums.cpp
src/gromacs/pbcutil/tests/.clang-tidy [new file with mode: 0644]
src/gromacs/restraint/manager.cpp
src/gromacs/restraint/restraintmdmodule.cpp
src/gromacs/restraint/restraintmdmodule_impl.h
src/gromacs/restraint/tests/.clang-tidy [new file with mode: 0644]
src/gromacs/statistics/statistics.cpp
src/gromacs/tables/tests/.clang-tidy [new file with mode: 0644]
src/gromacs/timing/tests/.clang-tidy [new file with mode: 0644]
src/gromacs/tools/make_ndx.cpp
src/gromacs/trajectory/energyframe.cpp
src/gromacs/trajectoryanalysis/tests/.clang-tidy [new file with mode: 0644]
src/testutils/.clang-tidy [new file with mode: 0644]
src/testutils/include/testutils/simulationdatabase.h