[clang][dataflow] When dumping ExprToVal, dump the Value, not just its location.

This makes `ExprToVal` dumping consistent with `LocToVal` dumping.

Reviewed By: ymandel, xazax.hun

Differential Revision: https://reviews.llvm.org/D159274
This commit is contained in:
Martin Braenne 2023-08-31 12:41:35 +00:00
parent e2e68468f5
commit 266c12a1bd

View File

@ -918,7 +918,7 @@ void Environment::dump(raw_ostream &OS) const {
OS << "ExprToVal:\n";
for (auto [E, V] : ExprToVal)
OS << " [" << E << ", " << V << "]\n";
OS << " [" << E << ", " << V << ": " << *V << "]\n";
OS << "LocToVal:\n";
for (auto [L, V] : LocToVal) {