mirror of
https://github.com/github/codeql.git
synced 2026-04-18 21:44:02 +02:00
18 lines
519 B
Plaintext
Generated
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()
|
|
}
|