C++: Add getDebugString predicate and use it in ValueNumberPropertyProvider

This commit is contained in:
Mathias Vorreiter Pedersen
2020-02-05 12:24:58 +01:00
parent ef89e3bdb5
commit 69e085dda7

View File

@@ -61,6 +61,8 @@ class GVN extends TValueNumber {
final string toString() { result = "GVN" }
final string getDebugString() { result = strictconcat(getAnExpr().toString(), ", ") }
final Location getLocation() {
result =
min(Location l |