We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56a72d7 commit 3da54ebCopy full SHA for 3da54eb
swift/ql/lib/codeql/swift/elements/expr/SelfRefExpr.qll
@@ -10,5 +10,5 @@ class SelfRefExpr extends DeclRefExpr {
10
11
VarDecl getSelf() { result = this.getDecl() }
12
13
- MethodDecl getMethodDecl() { result = methodDecl }
+ MethodDecl getDeclaringMethod() { result = methodDecl }
14
}
swift/ql/lib/codeql/swift/elements/expr/SuperRefExpr.qll
@@ -5,5 +5,5 @@ private import codeql.swift.elements.decl.MethodDecl
5
class SuperRefExpr extends Generated::SuperRefExpr {
6
override string toString() { result = "super" }
7
8
- MethodDecl getMethodDecl() { this.getSelf() = result.getSelfParam() }
+ MethodDecl getDeclaringMethod() { this.getSelf() = result.getSelfParam() }
9
0 commit comments