Skip to content

Commit 479ea9f

Browse files
committed
Remove unused predicate hasExternalSpecification
1 parent 174712a commit 479ea9f

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

go/ql/lib/semmle/go/dataflow/ExternalFlow.qll

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -299,16 +299,6 @@ SourceSinkInterpretationInput::SourceOrSinkElement interpretElement(
299299
)
300300
}
301301

302-
/** Holds if there is an external specification for `f`. */
303-
predicate hasExternalSpecification(Function f) {
304-
f = any(SummarizedCallable sc).asFunction()
305-
or
306-
exists(SourceSinkInterpretationInput::SourceOrSinkElement e | f = e.asEntity() |
307-
SourceSinkInterpretationInput::sourceElement(e, _, _, _, _) or
308-
SourceSinkInterpretationInput::sinkElement(e, _, _, _, _)
309-
)
310-
}
311-
312302
private predicate parseField(AccessPathToken c, DataFlow::FieldContent f) {
313303
exists(
314304
string fieldRegex, string qualifiedName, string package, string className, string fieldName

0 commit comments

Comments
 (0)