Files
codeql/swift/ql/integration-tests/linux/RegexLiteralExpr/RegexLiteralExpr.ql
Cornelius Riemenschneider a92a845719 Swift: Move all integration tests.
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.
2024-08-28 10:47:17 +02:00

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