ghc-lib-parser-0.20221201: The GHC API, decoupled from GHC versions
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Driver.Config.Diagnostic

Description

Functions for initialising error message printing configuration from the GHC session flags.

Synopsis

Documentation

initDiagOpts :: DynFlags -> DiagOpts Source #

Initialise the general configuration for printing diagnostic messages For example, this configuration controls things like whether warnings are treated like errors.

initPrintConfig :: DynFlags -> DiagnosticOpts GhcMessage Source #

Initialise the configuration for printing specific diagnostic messages