Beaver. MLIR. Diagnostic
(beaver v0.4.8)
Copy Markdown
This module provides functions to work with MLIR diagnostics.
Summary
Functions
Converts diagnostic locations to strings so the tree is safe beyond context lifetime.
Returns the severity level of a diagnostic.
Types
@type t() :: %Beaver.MLIR.Diagnostic{ref: term()}
Functions
Converts diagnostic locations to strings so the tree is safe beyond context lifetime.
Returns the severity level of a diagnostic.
If the MLIR severity level is not recognized, it returns :unknown.