Files
codeql/swift/ql/test/extractor-tests/generated/expr/ImplicitConversionExpr/ImplicitConversionExpr.ql
2025-06-25 12:02:13 +02:00

18 lines
519 B
Plaintext
Generated

// generated by codegen/codegen.py, do not edit
import codeql.swift.elements
import TestUtils
query predicate instances(
ImplicitConversionExpr x, string primaryQlClasses, string getSubExpr__label, Expr getSubExpr
) {
toBeTested(x) and
not x.isUnknown() and
primaryQlClasses = x.getPrimaryQlClasses() and
getSubExpr__label = "getSubExpr:" and
getSubExpr = x.getSubExpr()
}
query predicate getType(ImplicitConversionExpr x, Type getType) {
toBeTested(x) and not x.isUnknown() and getType = x.getType()
}