Files
codeql/swift/ql/test/extractor-tests/generated/expr/CopyExpr/CopyExpr.ql
2024-09-16 13:40:02 +02:00

12 lines
345 B
Plaintext
Generated

// generated by codegen/codegen.py, do not edit
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