We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3275735 commit 90c1fc3Copy full SHA for 90c1fc3
1 file changed
go/ql/lib/semmle/go/dataflow/internal/DataFlowNodes.qll
@@ -844,13 +844,11 @@ module Public {
844
insn = getAWrittenInsn()
845
}
846
847
- predicate hasPostUpdateNode(Node preupd) { insnHasPostUpdateNode(preupd.asInstruction()) }
848
-
849
private class DefaultPostUpdateNode extends PostUpdateNode {
850
Node preupd;
851
852
DefaultPostUpdateNode() {
853
- hasPostUpdateNode(preupd) and
+ insnHasPostUpdateNode(preupd.asInstruction()) and
854
(
855
preupd = this.(SsaNode).getAUse()
856
or
0 commit comments