mirror of
https://github.com/github/codeql.git
synced 2026-08-02 08:23:01 +02:00
For consistency with the C/C++ QL library, getters of AST elements within the hidden AST should not themselves skip other hidden AST elements.
6 lines
203 B
Plaintext
6 lines
203 B
Plaintext
import swift
|
|
|
|
from Expr e, Expr subexpr
|
|
where subexpr = [e.(IdentityExpr).getSubExpr(), e.(ImplicitConversionExpr).getSubExpr()]
|
|
select e, e.getPrimaryQlClasses(), subexpr, subexpr.getPrimaryQlClasses()
|