mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
12 lines
268 B
Plaintext
12 lines
268 B
Plaintext
import swift
|
|
|
|
from ConditionElement e, AstNode underlying
|
|
where
|
|
e.getLocation().getFile().getName().matches("%swift/ql/test%") and
|
|
(
|
|
underlying = e.getBoolean() or
|
|
underlying = e.getPattern() or
|
|
underlying = e.getInitializer()
|
|
)
|
|
select e, underlying
|