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

Member predicate MakeWithSplitting::SplitImplementations::ConditionalCompletionSplitting::ConditionalCompletionSplitImpl::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)