ghc-lib-parser-9.12.2.20250421: The GHC API, decoupled from GHC versions

Safe Haskell | Ignore
Language | GHC2021

GHC.Driver.Config.Core.Lint

Synopsis

- endPass :: CoreToDo -> CoreProgram -> [CoreRule] -> CoreM ()
- endPassHscEnvIO :: HscEnv -> NamePprCtx -> CoreToDo -> CoreProgram -> [CoreRule] -> IO ()
- lintCoreBindings :: DynFlags -> CoreToDo -> [Var] -> CoreProgram -> WarnsAndErrs
- initEndPassConfig :: DynFlags -> [Var] -> NamePprCtx -> CoreToDo -> EndPassConfig
- initLintPassResultConfig :: DynFlags -> [Var] -> CoreToDo -> LintPassResultConfig
- initLintConfig :: DynFlags -> [Var] -> LintConfig

# Documentation

endPass :: CoreToDo -> CoreProgram -> [CoreRule] -> CoreM () Source #

endPassHscEnvIO :: HscEnv -> NamePprCtx -> CoreToDo -> CoreProgram -> [CoreRule] -> IO () Source #

lintCoreBindings :: DynFlags -> CoreToDo -> [Var] -> CoreProgram -> WarnsAndErrs Source #

Type-check a `CoreProgram`. See Note [Core Lint guarantee].

initEndPassConfig :: DynFlags -> [Var] -> NamePprCtx -> CoreToDo -> EndPassConfig Source #

initLintPassResultConfig :: DynFlags -> [Var] -> CoreToDo -> LintPassResultConfig Source #

initLintConfig :: DynFlags -> [Var] -> LintConfig Source #