/// Create a new block after the current one.
Create a new block after the current one.
Create a new block after the current one .
pub fn add_block(&mut self) -> MlirBlock {
        let block = self.insert_block.expect("insertion block not set");
        let after = self.insert_block_after.expect("insertion block not set");
        unsafe {
            let new_block = mlirBlockCreate(0, [].as_ptr());
            mlirRegionInsertOwnedBlockAfter(mlirBlockGetParentRegion(block), after, new_block);
            self.insert_block_after = Some(new_block);
            new_block
        }
    }
pub fn add_block ( & mut self ) -> MlirBlock { let block = self . insert_block . expect ( " " ) ; let after = self . insert_block_after . expect ( " " ) ; unsafe { let new_block = mlirBlockCreate ( 0 , [ ] . as_ptr ( ) ) ; mlirRegionInsertOwnedBlockAfter ( mlirBlockGetParentRegion ( block ) , after , new_block ) ; self . insert_block_after = Some ( new_block ) ; new_block } }
Create a new block after the current one.
Create a new block after the current one .
&mut self