mlir_sys

Function mlirLLVMStructTypeLiteralGetChecked

Source
pub unsafe extern "C" fn mlirLLVMStructTypeLiteralGetChecked(
    loc: MlirLocation,
    nFieldTypes: isize,
    fieldTypes: *const MlirType,
    isPacked: bool,
) -> MlirType
Expand description

Creates an LLVM literal (unnamed) struct type if possible. Emits a diagnostic at the given location and returns null otherwise.