mirror of
https://github.com/github/codeql.git
synced 2026-04-18 21:44:02 +02:00
Swift: Fix RemoteFlowSource performance issue.
This commit is contained in:
@@ -125,7 +125,8 @@ private class JsExportedSource extends RemoteFlowSource {
|
||||
base.getEnclosingDecl() instanceof JsExportedProto and
|
||||
adopter.getEnclosingDecl() instanceof JsExportedType
|
||||
|
|
||||
this.asExpr().(MemberRefExpr).getMember() = adopter and adopter.getName() = base.getName()
|
||||
this.asExpr().(MemberRefExpr).getMember() = adopter and
|
||||
pragma[only_bind_out](adopter.getName()) = pragma[only_bind_out](base.getName())
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user