mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +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.
11 lines
387 B
Plaintext
11 lines
387 B
Plaintext
// generated by codegen/codegen.py
|
|
import codeql.swift.elements
|
|
|
|
from RegexLiteralExpr x, Type getType, string getPattern, int getVersion
|
|
where
|
|
x.getLocation().getFile().getName().matches("%/regex.swift") and
|
|
getType = x.getType() and
|
|
getPattern = x.getPattern() and
|
|
getVersion = x.getVersion()
|
|
select x, "getType:", getType, "getPattern:", getPattern, "getVersion:", getVersion
|