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

Predicate Flow::ConsistencyChecks::closureMustHaveBody

Import path

import codeql.dataflow.VariableCapture
predicate closureMustHaveBody(ClosureExpr ce, string msg)