File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
swift/ql/lib/codeql/swift/elements/expr Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -19,17 +19,6 @@ class ApplyExpr extends Generated::ApplyExpr {
19
19
/** Gets the method qualifier, if this is applying a method */
20
20
Expr getQualifier ( ) { none ( ) }
21
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
22
override string toString ( ) {
34
23
result = "call to " + this .getStaticTarget ( ) .toString ( )
35
24
or
You can’t perform that action at this time.
0 commit comments