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.
2 parents 2300285 + 761db70 commit e14e0cdCopy full SHA for e14e0cd
swift/ql/lib/codeql/swift/frameworks/StandardLibrary/CustomUrlSchemes.qll
@@ -56,9 +56,7 @@ private class ApplicationWithLaunchOptionsFunc extends Function {
56
57
private class LaunchOptionsUrlVarDecl extends VarDecl {
58
LaunchOptionsUrlVarDecl() {
59
- // ideally this would be the more accurate, but currently less robust:
60
- // this.getEnclosingDecl().asNominalTypeDecl().getFullName() = "UIApplication.LaunchOptionsKey" and
61
- this.getType().(NominalType).getFullName() = "UIApplication.LaunchOptionsKey" and
+ this.getEnclosingDecl().asNominalTypeDecl().getFullName() = "UIApplication.LaunchOptionsKey" and
62
this.getName() = "url"
63
}
64
0 commit comments