CodeQL library for Swift
codeql/swift-all 3.0.1-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)