Skip to content

Include-what-you-use for NavigationState

Seth Johnson requested to merge seth/VecGeom:iwyu into master
  • NavStateFwd.h doesn't include Config/Cuda headers but it needs them
  • NavigationState.h doesn't define NavigationState (that is only done by NavStateFwd)
  • Many headers use VECGEOM_ENABLE_CUDA but don't include Config.h
  • Many headers use VECGEOM_CUDA_INTERFACE but don't include Cuda.h

The last two are particularly insidious because they rely on macros that use #ifdef.

Edited by Seth Johnson

Merge request reports