mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Swift: Clean up the URL.init model.
This commit is contained in:
@@ -53,7 +53,7 @@ private module Cached {
|
||||
c.getName() = "URL" and
|
||||
c.getAMember() = f and
|
||||
f.getName() = ["init(string:)", "init(string:relativeTo:)"] and
|
||||
call.getFunction().(ApplyExpr).getStaticTarget() = f and
|
||||
call.getStaticTarget() = f and
|
||||
nodeFrom.asExpr() = call.getAnArgument().getExpr() and
|
||||
nodeTo.asExpr() = call
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user