Member predicate BasicBlocks::BasicBlock::getANullSuccessor

Gets an immediate null successor, if any.

An immediate null successor is a successor that is reached when the expression that ends this basic block evaluates to null.

Example:

x?.M();
return;

The node on line 2 is an immediate null successor of the node x on line 1.

BasicBlock getANullSuccessor()