ghc-toolchain-0.1.0.0: Utility for managing GHC target toolchains
Safe HaskellNone
LanguageHaskell2010

GHC.Toolchain.Tools.Cpp

Documentation

newtype HsCpp Source #

Constructors

HsCpp 

Instances

Instances details
Read HsCpp Source # 
Instance details

Defined in GHC.Toolchain.Tools.Cpp

Show HsCpp Source # 
Instance details

Defined in GHC.Toolchain.Tools.Cpp

Methods

showsPrec :: Int -> HsCpp -> ShowS #

show :: HsCpp -> String #

showList :: [HsCpp] -> ShowS #

Eq HsCpp Source # 
Instance details

Defined in GHC.Toolchain.Tools.Cpp

Methods

(==) :: HsCpp -> HsCpp -> Bool #

(/=) :: HsCpp -> HsCpp -> Bool #

Ord HsCpp Source # 
Instance details

Defined in GHC.Toolchain.Tools.Cpp

Methods

compare :: HsCpp -> HsCpp -> Ordering #

(<) :: HsCpp -> HsCpp -> Bool #

(<=) :: HsCpp -> HsCpp -> Bool #

(>) :: HsCpp -> HsCpp -> Bool #

(>=) :: HsCpp -> HsCpp -> Bool #

max :: HsCpp -> HsCpp -> HsCpp #

min :: HsCpp -> HsCpp -> HsCpp #

newtype Cpp Source #

Constructors

Cpp 

Fields

Instances

Instances details
Read Cpp Source # 
Instance details

Defined in GHC.Toolchain.Tools.Cpp

Show Cpp Source # 
Instance details

Defined in GHC.Toolchain.Tools.Cpp

Methods

showsPrec :: Int -> Cpp -> ShowS #

show :: Cpp -> String #

showList :: [Cpp] -> ShowS #

Eq Cpp Source # 
Instance details

Defined in GHC.Toolchain.Tools.Cpp

Methods

(==) :: Cpp -> Cpp -> Bool #

(/=) :: Cpp -> Cpp -> Bool #

Ord Cpp Source # 
Instance details

Defined in GHC.Toolchain.Tools.Cpp

Methods

compare :: Cpp -> Cpp -> Ordering #

(<) :: Cpp -> Cpp -> Bool #

(<=) :: Cpp -> Cpp -> Bool #

(>) :: Cpp -> Cpp -> Bool #

(>=) :: Cpp -> Cpp -> Bool #

max :: Cpp -> Cpp -> Cpp #

min :: Cpp -> Cpp -> Cpp #

newtype JsCpp Source #

Constructors

JsCpp 

Instances

Instances details
Read JsCpp Source # 
Instance details

Defined in GHC.Toolchain.Tools.Cpp

Show JsCpp Source # 
Instance details

Defined in GHC.Toolchain.Tools.Cpp

Methods

showsPrec :: Int -> JsCpp -> ShowS #

show :: JsCpp -> String #

showList :: [JsCpp] -> ShowS #

Eq JsCpp Source # 
Instance details

Defined in GHC.Toolchain.Tools.Cpp

Methods

(==) :: JsCpp -> JsCpp -> Bool #

(/=) :: JsCpp -> JsCpp -> Bool #

Ord JsCpp Source # 
Instance details

Defined in GHC.Toolchain.Tools.Cpp

Methods

compare :: JsCpp -> JsCpp -> Ordering #

(<) :: JsCpp -> JsCpp -> Bool #

(<=) :: JsCpp -> JsCpp -> Bool #

(>) :: JsCpp -> JsCpp -> Bool #

(>=) :: JsCpp -> JsCpp -> Bool #

max :: JsCpp -> JsCpp -> JsCpp #

min :: JsCpp -> JsCpp -> JsCpp #

data CmmCpp Source #

Constructors

CmmCpp 

Fields

  • cmmCppProgram :: Program
     
  • cmmCppSupportsG0 :: Bool

    Whether the C-- preprocessor supports -g0. Extracted out as -g0 needs to be appended to the complete invocation, rather than prefix flags, in order to override other flags.

Instances

Instances details
Read CmmCpp Source # 
Instance details

Defined in GHC.Toolchain.Tools.Cpp

Show CmmCpp Source # 
Instance details

Defined in GHC.Toolchain.Tools.Cpp

Eq CmmCpp Source # 
Instance details

Defined in GHC.Toolchain.Tools.Cpp

Methods

(==) :: CmmCpp -> CmmCpp -> Bool #

(/=) :: CmmCpp -> CmmCpp -> Bool #

Ord CmmCpp Source # 
Instance details

Defined in GHC.Toolchain.Tools.Cpp