Update the successor at index Idx to point at BB.

Synopsis

Declared in <llvm/IR/Instruction.h>

void
setSuccessor(
    unsigned int Idx,
    BasicBlock* BB);

Description

This instruction must be a terminator.

Parameters

Name

Description

Idx

Zero‐based successor index.

BB

The new successor basic block.

Created with MrDocs