Swift: Fix RemoteFlowSource performance issue.

This commit is contained in:
Geoffrey White
2022-12-15 12:36:32 +00:00
parent 33955ee4ab
commit 8e61c78ce6

View File

@@ -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())
)
}