Beaver.MLIR.Diagnostic (beaver v0.4.0)

This module provides functions to work with MLIR diagnostics.

Summary

Types

t()

@type t() :: %Beaver.MLIR.Diagnostic{ref: term()}

Functions

detach(ctx, handler_id)

See Beaver.MLIR.CAPI.mlirContextDetachDiagnosticHandler/2.

make(value)

severity(diagnostic)

Returns the severity level of a diagnostic.

If the MLIR severity level is not recognized, it returns :unknown.