I have Function
and one of its basic blocks BB
I want to insert this BB into a new function without remove it from the original
according that BList is the list of the basic blocks of the newFunction
but I don’t want to call BB->removeFromParent(); and without this method it give me error that BB is already in a container
is there another function that get copy without deleting?
Thank you in advance