Files
codeql/swift/ql/test/extractor-tests/generated/expr/CopyExpr/CopyExpr.ql
2023-11-13 15:55:37 +01:00

12 lines
332 B
Plaintext
Generated

// generated by codegen/codegen.py
import codeql.swift.elements
import TestUtils
from CopyExpr x, string hasType, Expr getSubExpr
where
toBeTested(x) and
not x.isUnknown() and
(if x.hasType() then hasType = "yes" else hasType = "no") and
getSubExpr = x.getSubExpr()
select x, "hasType:", hasType, "getSubExpr:", getSubExpr