We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85e99fe commit d69d289Copy full SHA for d69d289
1 file changed
swift/ql/lib/codeql/swift/elements/expr/ApplyExpr.qll
@@ -19,17 +19,6 @@ class ApplyExpr extends Generated::ApplyExpr {
19
/** Gets the method qualifier, if this is applying a method */
20
Expr getQualifier() { none() }
21
22
- /**
23
- * Gets the argument that has corresponding parameter name `paramName` (if
24
- * any). If this call does not have a static target, there will be no result.
25
- */
26
- final Argument getArgumentByParamName(string paramName) {
27
- exists(int arg |
28
- this.getStaticTarget().getParam(pragma[only_bind_into](arg)).getName() = paramName and
29
- this.getArgument(pragma[only_bind_into](arg)) = result
30
- )
31
- }
32
-
33
override string toString() {
34
result = "call to " + this.getStaticTarget().toString()
35
or
0 commit comments