mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
18 lines
640 B
Plaintext
Generated
18 lines
640 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
from
|
|
ClosureExpr x, int getNumberOfArgs, string hasRetType, Expr getBody, string getClosureKind,
|
|
string isMove
|
|
where
|
|
toBeTested(x) and
|
|
not x.isUnknown() and
|
|
getNumberOfArgs = x.getNumberOfArgs() and
|
|
(if x.hasRetType() then hasRetType = "yes" else hasRetType = "no") and
|
|
getBody = x.getBody() and
|
|
getClosureKind = x.getClosureKind() and
|
|
if x.isMove() then isMove = "yes" else isMove = "no"
|
|
select x, "getNumberOfArgs:", getNumberOfArgs, "hasRetType:", hasRetType, "getBody:", getBody,
|
|
"getClosureKind:", getClosureKind, "isMove:", isMove
|