CodeQL library for Python
codeql/python-all 3.0.1-dev (changelog, source)
Search

Member predicate BasicBlock::getImmediatelyControllingBlock

Gets the ConditionBlock, if any, that controls this block and does not control any other ConditionBlocks that control this block. That is the ConditionBlock that is closest dominator.

ConditionBlock getImmediatelyControllingBlock()