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

Member predicate BasicBlock::getImmediatelyControllingBlock

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

ConditionBlock getImmediatelyControllingBlock()