Skip to content

Commit d67f57a

Browse files
committed
Python: Remove dead code
1 parent 56b78a6 commit d67f57a

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

python/ql/src/experimental/dataflow/internal/DataFlowPrivate.qll

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -459,23 +459,6 @@ predicate comprehensionReadStep(CfgNode nodeFrom, Content c, EssaNode nodeTo) {
459459
)
460460
}
461461

462-
/** This seems to compensate for extractor shortcomings */
463-
For getCompFor(Comp c) {
464-
c.contains(result) and
465-
c.getFunction() = result.getScope()
466-
}
467-
468-
/** This seems to compensate for extractor shortcomings */
469-
AstNode getCompIter(Comp c) {
470-
c.contains(result) and
471-
c.getScope() = result.getScope() and
472-
not result = c.getFunction() and
473-
not exists(AstNode between |
474-
c.contains(between) and
475-
between.contains(result)
476-
)
477-
}
478-
479462
/**
480463
* Holds if values stored inside content `c` are cleared at node `n`. For example,
481464
* any value stored inside `f` is cleared at the pre-update node associated with `x`

0 commit comments

Comments
 (0)