9 #ifndef MLIR_CAPI_DIAGNOSTICS_H
10 #define MLIR_CAPI_DIAGNOSTICS_H
20 assert(diagnostic.
ptr &&
"unexpected null diagnostic");
This class contains all of the information necessary to report a diagnostic to the DiagnosticEngine.
mlir::Diagnostic & unwrap(MlirDiagnostic diagnostic)
MlirDiagnostic wrap(mlir::Diagnostic &diagnostic)
This header declares functions that assist transformations in the MemRef dialect.
An opaque reference to a diagnostic, always owned by the diagnostics engine (context).