File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ class ExternalApi extends Callable {
6969
7070 /** Holds if this API has a supported summary. */
7171 predicate hasSummary ( ) {
72- this instanceof SummarizedCallable or
72+ this = any ( SummarizedCallable sc ) . asCallable ( ) or
7373 TaintTracking:: localAdditionalTaintStep ( this .getAnInput ( ) , _)
7474 }
7575
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import ExternalApi
1414private predicate relevant ( ExternalApi api ) {
1515 not api .isUninteresting ( ) and
1616 not api .isSupported ( ) and
17- not api instanceof FlowSummaryImpl:: Public:: NegativeSummarizedCallable
17+ not api = any ( FlowSummaryImpl:: Public:: NegativeSummarizedCallable nsc ) . asCallable ( )
1818}
1919
2020from string apiName , int usages
You can’t perform that action at this time.
0 commit comments