Merge pull request #13888 from github/revert-13757-sources

Revert "Swift: Pragmatic fix for CustomUrlSchemes.qll."
This commit is contained in:
Mathias Vorreiter Pedersen
2023-08-07 09:31:10 +01:00
committed by GitHub

View File

@@ -56,9 +56,7 @@ private class ApplicationWithLaunchOptionsFunc extends Function {
private class LaunchOptionsUrlVarDecl extends VarDecl {
LaunchOptionsUrlVarDecl() {
// ideally this would be the more accurate, but currently less robust:
// this.getEnclosingDecl().asNominalTypeDecl().getFullName() = "UIApplication.LaunchOptionsKey" and
this.getType().(NominalType).getFullName() = "UIApplication.LaunchOptionsKey" and
this.getEnclosingDecl().asNominalTypeDecl().getFullName() = "UIApplication.LaunchOptionsKey" and
this.getName() = "url"
}
}