Forward declare ArrayRef more and inlcude basedefinitions where needed
authorejjordan <ejjordan@kth.se>
Tue, 23 Mar 2021 10:29:00 +0000 (11:29 +0100)
committerPaul Bauer <paul.bauer.q@gmail.com>
Tue, 23 Mar 2021 11:23:01 +0000 (11:23 +0000)
commite726ffa7b85c5cda92d28772a6642e712ae204d7
tree778c2479afecfa9fc3d563676a910f0e1f5d5c12
parent5ee95dea7247bb0e93deeccb030d942fa41b169c
Forward declare ArrayRef more and inlcude basedefinitions where needed

Remove many includes of ArrayRef that can be forward declared. Also
remove includes of basedefinitions in many headers. In some cases
removing basedefinitinos meant also changing gmx_bool to bool.
Note that no change to source files is needed, apart from possibly
adding the basedefintions include, because gmx_bool uses true and
false under the hood.
39 files changed:
api/legacy/include/gromacs/utility/gmxassert.h
api/nblib/simulationstate.cpp
api/nblib/tests/integrator.cpp
src/gromacs/analysisdata/dataframe.h
src/gromacs/analysisdata/modules/frameaverager.h
src/gromacs/applied_forces/densityfitting/densityfittingamplitudelookup.cpp
src/gromacs/commandline/filenm.h
src/gromacs/commandline/pargs.h
src/gromacs/domdec/domdec.h
src/gromacs/domdec/domdec_struct.h
src/gromacs/ewald/pme.h
src/gromacs/listed_forces/listed_forces.h
src/gromacs/listed_forces/pairs.h
src/gromacs/math/gausstransform.cpp
src/gromacs/mdlib/constr.h
src/gromacs/mdlib/mdatoms.h
src/gromacs/mdlib/mdebin_bar.h
src/gromacs/mdlib/vsite.h
src/gromacs/mdtypes/awh_history.h
src/gromacs/mdtypes/commrec.h
src/gromacs/mdtypes/energyhistory.h
src/gromacs/mdtypes/fcdata.h
src/gromacs/mdtypes/forcebuffers.h
src/gromacs/mdtypes/forcerec.h
src/gromacs/mdtypes/group.h
src/gromacs/mdtypes/inputrec.h
src/gromacs/mdtypes/interaction_const.h
src/gromacs/mdtypes/md_enums.h
src/gromacs/mdtypes/mdatom.h
src/gromacs/mdtypes/state.h
src/gromacs/onlinehelp/helpformat.cpp
src/gromacs/pbcutil/pbc.h
src/gromacs/selection/nbsearch.h
src/gromacs/topology/block.h
src/gromacs/topology/idef.h
src/gromacs/topology/mtop_util.h
src/gromacs/topology/symtab.h
src/gromacs/utility/fixedcapacityvector.h
src/gromacs/utility/range.h