mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
Merge pull request #13888 from github/revert-13757-sources
Revert "Swift: Pragmatic fix for CustomUrlSchemes.qll."
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user