llvm::IndirectBrInst::setSuccessor

Update the specified successor to point at the provided block. This instruction must be a terminator.

Synopses

Declared in <llvm/IR/Instruction.h>

Update the specified successor to point at the provided block. This instruction must be a terminator.

void
setSuccessor(
    unsigned int Idx,
    BasicBlock* BB);
» more...
void
setSuccessor(
    unsigned int i,
    BasicBlock* NewSucc);
» more...