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 {
1919 /** Gets the method qualifier, if this is applying a method */
2020 Expr getQualifier ( ) { none ( ) }
2121
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-
3322 override string toString ( ) {
3423 result = "call to " + this .getStaticTarget ( ) .toString ( )
3524 or
You can’t perform that action at this time.
0 commit comments