clang-tidy: readibility redundant
authorRoland Schulz <roland.schulz@intel.com>
Tue, 26 Jun 2018 06:10:06 +0000 (23:10 -0700)
committerMark Abraham <mark.j.abraham@gmail.com>
Fri, 29 Jun 2018 06:33:53 +0000 (08:33 +0200)
commit7fa38c50e6ae806f91015599ec7b76744f355240
tree5fd2e481e55dd55b1fcbce4de2ba35e8b2a3b0b2
parent3588779f4580bdd4c4cf2ff87f875793bd5dfba8
clang-tidy: readibility redundant

readability-redundant-control-flow (return at end of void fn)
readability-static-definition-in-anonymous-namespace
readability-redundant-member-init

All three remove redundant information.

Manual changes in:
src/gromacs/utility/alignedallocator.cpp (no auto fix)
src/gromacs/utility/futil.cpp (incorrect auto fix)

Change-Id: I807815f2e985f6ff612cdc96f6585ff524da4e54
27 files changed:
src/gromacs/CMakeLists.txt
src/gromacs/awh/bias.cpp
src/gromacs/awh/biaswriter.cpp
src/gromacs/fileio/tngio.cpp
src/gromacs/gmxana/gmx_awh.cpp
src/gromacs/gmxana/gmx_potential.cpp
src/gromacs/gmxana/gmx_tune_pme.cpp
src/gromacs/gmxlib/nonbonded/nonbonded.cpp
src/gromacs/gmxpreprocess/genhydro.cpp
src/gromacs/gmxpreprocess/insert-molecules.cpp
src/gromacs/gmxpreprocess/readir.cpp
src/gromacs/hardware/hardwaretopology.cpp
src/gromacs/listed-forces/bonded.cpp
src/gromacs/listed-forces/listed-forces.cpp
src/gromacs/mdlib/mdatoms.cpp
src/gromacs/mdlib/sim_util.cpp
src/gromacs/mdtypes/state.cpp
src/gromacs/swap/swapcoords.cpp
src/gromacs/taskassignment/findallgputasks.cpp
src/gromacs/taskassignment/reportgpuusage.cpp
src/gromacs/taskassignment/resourcedivision.cpp
src/gromacs/taskassignment/taskassignment.cpp
src/gromacs/trajectory/energyframe.cpp
src/gromacs/trajectoryanalysis/modules/angle.cpp
src/gromacs/utility/alignedallocator.cpp
src/gromacs/utility/futil.cpp
src/gromacs/utility/qsort_threadsafe.cpp