summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-07-14 20:21:36 +0000
committerTed Kremenek <kremenek@apple.com>2009-07-14 20:21:36 +0000
commite2fb3ce385267dbb91facfefe2a3425501358d5c (patch)
tree63a634da4eb79872c3ff893ac54556c0ea406e4f
parent79c136d473052472bcbdc616e61dc3f233c5070a (diff)
downloadbcm5719-llvm-e2fb3ce385267dbb91facfefe2a3425501358d5c.tar.gz
bcm5719-llvm-e2fb3ce385267dbb91facfefe2a3425501358d5c.zip
Tweak pretty-printing of CompoundVal to make it more useful for debugging.
llvm-svn: 75672
-rw-r--r--clang/lib/Analysis/SVals.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Analysis/SVals.cpp b/clang/lib/Analysis/SVals.cpp
index e5657ff6b61..a5ba1993983 100644
--- a/clang/lib/Analysis/SVals.cpp
+++ b/clang/lib/Analysis/SVals.cpp
@@ -283,7 +283,7 @@ void NonLoc::dumpToStream(llvm::raw_ostream& os) const {
}
case nonloc::CompoundValKind: {
const nonloc::CompoundVal& C = *cast<nonloc::CompoundVal>(this);
- os << " {";
+ os << "compoundVal{";
bool first = true;
for (nonloc::CompoundVal::iterator I=C.begin(), E=C.end(); I!=E; ++I) {
if (first) {
@@ -294,7 +294,7 @@ void NonLoc::dumpToStream(llvm::raw_ostream& os) const {
(*I).dumpToStream(os);
}
- os << " }";
+ os << "}";
break;
}
default:
OpenPOWER on IntegriCloud