]> granicus.if.org Git - clang/commitdiff
Tweak pretty-printing of CompoundVal to make it more useful for debugging.
authorTed Kremenek <kremenek@apple.com>
Tue, 14 Jul 2009 20:21:36 +0000 (20:21 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 14 Jul 2009 20:21:36 +0000 (20:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75672 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/SVals.cpp

index e5657ff6b614eb3aee073fa011835c171d137498..a5ba19939832a48b203ca3b7d3ba4815b34a8896 100644 (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: