CodeQL library for Python
codeql/python-all 2.1.3-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()