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

Member predicate MakeWithSplitting::SplitImpl::hasEntryScope

Holds if this split is entered when control passes from scope to the entry point first.

Invariant: hasEntryScope(scope, first) implies scopeFirst(scope, first).

predicate hasEntryScope(CfgScope scope, AstNode first)