Swift: Clean up the URL.init model.

This commit is contained in:
Geoffrey White
2022-08-31 15:25:24 +01:00
parent bf7437fd2e
commit be88c4f171

View File

@@ -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
)