ghc-9.6.0.20230210: The GHC API
Safe HaskellSafe-Inferred
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