mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
18 lines
664 B
Plaintext
Generated
18 lines
664 B
Plaintext
Generated
// generated by codegen/codegen.py, do not edit
|
|
import codeql.swift.elements
|
|
import TestUtils
|
|
|
|
from
|
|
CapturedDecl x, ModuleDecl getModule, int getNumberOfMembers, ValueDecl getDecl, string isDirect,
|
|
string isEscaping
|
|
where
|
|
toBeTested(x) and
|
|
not x.isUnknown() and
|
|
getModule = x.getModule() and
|
|
getNumberOfMembers = x.getNumberOfMembers() and
|
|
getDecl = x.getDecl() and
|
|
(if x.isDirect() then isDirect = "yes" else isDirect = "no") and
|
|
if x.isEscaping() then isEscaping = "yes" else isEscaping = "no"
|
|
select x, "getModule:", getModule, "getNumberOfMembers:", getNumberOfMembers, "getDecl:", getDecl,
|
|
"isDirect:", isDirect, "isEscaping:", isEscaping
|