Moduleghc-9.10.3GHC2021
GHC.Core.Lint
- 6 types
- 9 values
- Packageghc-9.10.3
- Exports15
- LanguageGHC2021
- LicenceBSD-3-Clause
- SourceLint.hs
Constructors
LFlf_check_global_ids :: Boollf_check_inline_loop_breakers :: Boollf_check_static_ptrs :: StaticPtrCheckSee Note [Checking StaticPtrs]
lf_report_unsat_syns :: BoolSee Note [Linting type synonym applications]
lf_check_linearity :: BoolSee Note [Linting linearity]
lf_check_fixed_rep :: Bool
Constructors
AllowAnywhereAllow
makeStaticto occur anywhere.AllowAtTopLevelAllow
makeStaticcalls at the top-level only.RejectEverywhereReject any
makeStaticoccurrence.
Instances1Eq
Eq StaticPtrCheckDefined in ghc-9.10.3 · GHC.Core.Lint
Constructors
LintConfigl_diagOpts :: !DiagOptsDiagnostics opts
l_platform :: !PlatformTarget platform
l_flags :: !LintFlagsLinting the result of this pass
l_vars :: ![Var]Ids that should be treated as being in scope
Type-check a CoreProgram. See Note [Core Lint guarantee].
lintUnfolding This checks whether a pass correctly looks through debug
annotations (SourceNote). This works a bit different from other
consistency checks: We check this by running the given task twice,
noting all differences between the results.
lintAxioms Debug output
4 declarationsConfiguration for boilerplate operations at the end of a compilation pass producing Core.
Constructors
EndPassConfigep_dumpCoreSizes :: !BoolWhether core bindings should be dumped with the size of what they are binding (i.e. the size of the RHS of the binding).
ep_lintPassResult :: !Maybe LintPassResultConfigWhether we should lint the result of this pass.
ep_namePprCtx :: !NamePprCtxep_dumpFlag :: !Maybe DumpFlagep_prettyPass :: !SDocep_passDetails :: !SDoc
displayLintResults