Tweak pretty-printing of CompoundVal to make it more useful for debugging.

llvm-svn: 75672
This commit is contained in:
Ted Kremenek 2009-07-14 20:21:36 +00:00
parent 79c136d473
commit e2fb3ce385
1 changed files with 2 additions and 2 deletions

View File

@ -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: