CodeQL library for Swift
codeql/swift-all 2.0.4-dev (changelog, source)
Search

Member predicate MakeWithSplitting::SplitImpl::hasExitScope

Holds if this split is left when control passes from last out of the enclosing scope scope with completion c.

Invariant: hasExitScope(scope, last, c) implies scopeLast(scope, last, c)

predicate hasExitScope(CfgScope scope, AstNode last, Completion c)