Skip to content

Commit 2517907

Browse files
committed
C++: Better toString on phi nodes.
1 parent 85d0efc commit 2517907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowUtil.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ class SsaPhiNode extends Node, TSsaPhiNode {
626626

627627
final override Location getLocationImpl() { result = phi.getBasicBlock().getLocation() }
628628

629-
override string toStringImpl() { result = "Phi" }
629+
override string toStringImpl() { result = phi.toString() }
630630

631631
/**
632632
* Gets a node that is used as input to this phi node.

0 commit comments

Comments
 (0)