forked from OSchip/llvm-project
Tweak pretty-printing of CompoundVal to make it more useful for debugging.
llvm-svn: 75672
This commit is contained in:
parent
79c136d473
commit
e2fb3ce385
|
@ -283,7 +283,7 @@ void NonLoc::dumpToStream(llvm::raw_ostream& os) const {
|
||||||
}
|
}
|
||||||
case nonloc::CompoundValKind: {
|
case nonloc::CompoundValKind: {
|
||||||
const nonloc::CompoundVal& C = *cast<nonloc::CompoundVal>(this);
|
const nonloc::CompoundVal& C = *cast<nonloc::CompoundVal>(this);
|
||||||
os << " {";
|
os << "compoundVal{";
|
||||||
bool first = true;
|
bool first = true;
|
||||||
for (nonloc::CompoundVal::iterator I=C.begin(), E=C.end(); I!=E; ++I) {
|
for (nonloc::CompoundVal::iterator I=C.begin(), E=C.end(); I!=E; ++I) {
|
||||||
if (first) {
|
if (first) {
|
||||||
|
@ -294,7 +294,7 @@ void NonLoc::dumpToStream(llvm::raw_ostream& os) const {
|
||||||
|
|
||||||
(*I).dumpToStream(os);
|
(*I).dumpToStream(os);
|
||||||
}
|
}
|
||||||
os << " }";
|
os << "}";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue