Used IWYU to partially clean up some includes
authorRoland Schulz <roland@utk.edu>
Fri, 30 May 2014 05:02:23 +0000 (01:02 -0400)
committerRoland Schulz <roland@utk.edu>
Mon, 20 Oct 2014 03:25:10 +0000 (23:25 -0400)
commit9d0e94a3fab0709b73d107b8504d60f18cc854c6
tree1cd2f5654c1de127287c54210ccebba31b5e689a
parent55c4d49fc0b49dd9f8c8fa3e7d5ea17097b4ae0f
Used IWYU to partially clean up some includes

- Used trunk version
- Works well for C and simple C++ files
  - Does not yet work without manual reverting some changes for more complicated
     files e.g. options.cpp (see issues 105, 111, 135, and 138)
- IWYU doesn't check for conditional compiled code. I ran for
  pme.c and wallcycle.c with -DDEBUG_PME/_WCYCLE

Given that one needs to fix a few issues and have to check for #ifdefs it is
still manual work, but I think quite a bit faster and more complete than doing
it manually.

Change-Id: I7c5569693a4b84f481f0f7afd85f0f01c33295cf
25 files changed:
admin/iwyu.imp [new file with mode: 0644]
admin/iwyu.sh [new file with mode: 0755]
src/gromacs/ewald/pme.c
src/gromacs/ewald/pme.h
src/gromacs/legacyheaders/domdec.h
src/gromacs/legacyheaders/types/commrec.h
src/gromacs/legacyheaders/types/fcdata.h
src/gromacs/legacyheaders/types/forcerec.h
src/gromacs/legacyheaders/types/genborn.h
src/gromacs/legacyheaders/types/group.h
src/gromacs/math/do_fit.c
src/gromacs/math/do_fit.h
src/gromacs/mdlib/domdec.cpp
src/gromacs/mdlib/nbnxn_pairlist.h
src/gromacs/simd/impl_x86_avx_256/impl_x86_avx_256.h
src/gromacs/timing/wallcycle.c
src/gromacs/topology/atomprop.cpp
src/gromacs/topology/mtop_util.c
src/gromacs/utility/basedefinitions.h
src/gromacs/utility/basenetwork.cpp
src/gromacs/utility/fatalerror.cpp
src/gromacs/utility/gmxmpi.h
src/gromacs/utility/uniqueptr.h
src/programs/mdrun/deform.h
src/programs/mdrun/md.cpp