ghc-9.8.0.20230919: The GHC API
Safe HaskellNone
LanguageHaskell2010

GHC.SysTools.Cpp

Synopsis

Documentation

doCpp :: Logger -> TmpFs -> DynFlags -> UnitEnv -> CppOpts -> FilePath -> FilePath -> IO () Source #

Run CPP

UnitEnv is needed to compute MIN_VERSION macros

data CppOpts Source #

Constructors

CppOpts 

Fields

getGhcVersionPathName :: DynFlags -> UnitEnv -> IO FilePath Source #

Find out path to ghcversion.h file