Skip to content

Commit 1d9a93a

Browse files
committed
Rename helper predicate
1 parent 4ee236d commit 1d9a93a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go/ql/lib/semmle/go/dataflow/internal/DataFlowPrivate.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ private Field getASparselyUsedChannelTypedField() {
105105

106106
bindingset[v]
107107
pragma[inline_late]
108-
private predicate jumpStepHelper(ValueEntity v, Node n) { n = v.getARead() }
108+
private predicate isValueEntityRead(ValueEntity v, Node n) { n = v.getARead() }
109109

110110
/**
111111
* Holds if data can flow from `node1` to `node2` in a way that loses the
@@ -121,7 +121,7 @@ predicate jumpStep(Node n1, Node n2) {
121121
or
122122
n1.(DataFlow::PostUpdateNode).getPreUpdateNode() = v.getARead()
123123
) and
124-
jumpStepHelper(v, n2)
124+
isValueEntityRead(v, n2)
125125
)
126126
or
127127
exists(SsaExplicitDefinition def, SsaVariableCapture succ |

0 commit comments

Comments
 (0)