mirror of
https://github.com/github/codeql.git
synced 2026-08-03 00:43:00 +02:00
We are no longer bound to the platform-specific directories, so simplify the test organization. If you don't want this change, just skip merging this PR. It's purely optional.
16 lines
336 B
Plaintext
16 lines
336 B
Plaintext
import swift
|
|
import Relevant
|
|
|
|
from Decl d, string type
|
|
where
|
|
relevant(d) and
|
|
(
|
|
not exists(d.(ValueDecl).getInterfaceType()) and type = "-"
|
|
or
|
|
exists(Type t |
|
|
t = d.(ValueDecl).getInterfaceType() and
|
|
type = t.toString() + " [" + t.getPrimaryQlClasses() + "]"
|
|
)
|
|
)
|
|
select d, d.getPrimaryQlClasses(), type
|