Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 75feab5

Browse files
committed
Python QL: Clean up pruning code, renaming and adding comments for clarity.
1 parent bbf7ff9 commit 75feab5

2 files changed

Lines changed: 104 additions & 77 deletions

File tree

python/ql/src/semmle/python/Flow.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ private AstNode toAst(ControlFlowNode n) {
3434
class ControlFlowNode extends @py_flow_node {
3535

3636
ControlFlowNode() {
37-
not Pruner::pruned(this)
37+
not Pruner::unreachable(this)
3838
}
3939

4040
/** Whether this control flow node is a load (including those in augmented assignments) */

0 commit comments

Comments
 (0)