CodeQL library for C/C++
codeql/cpp-all 6.1.4-dev (changelog, source)
Search

Predicate DefUse::locationLiveOnExitFromBlock

Holds if the specified useLocation is live on exit from block.

Import path

import semmle.code.cpp.ir.implementation.aliased_ssa.internal.SSAConstruction
predicate locationLiveOnExitFromBlock(MemoryLocation useLocation, OldBlock block)