aboutsummaryrefslogtreecommitdiff
path: root/lib
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
commit7b679528c1e193ff08d496264c6aed051506d9bf (patch)
tree0753d08f47fb0166028649a00d20a7b28d32620a /lib
parent0849d38128536b0b33377d91bf02d005308319ef (diff)
Tweak pretty-printing of CompoundVal to make it more useful for debugging.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75672 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Analysis/SVals.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/SVals.cpp b/lib/Analysis/SVals.cpp
index e5657ff6b6..a5ba199398 100644
--- a/lib/Analysis/SVals.cpp
+++ b/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: