[cfe-commits] r75672 - /cfe/trunk/lib/Analysis/SVals.cpp

Ted Kremenek kremenek at apple.com
Tue Jul 14 13:21:37 PDT 2009


Author: kremenek
Date: Tue Jul 14 15:21:36 2009
New Revision: 75672

URL: http://llvm.org/viewvc/llvm-project?rev=75672&view=rev
Log:
Tweak pretty-printing of CompoundVal to make it more useful for debugging.

Modified:
    cfe/trunk/lib/Analysis/SVals.cpp

Modified: cfe/trunk/lib/Analysis/SVals.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/SVals.cpp?rev=75672&r1=75671&r2=75672&view=diff

==============================================================================
--- cfe/trunk/lib/Analysis/SVals.cpp (original)
+++ cfe/trunk/lib/Analysis/SVals.cpp Tue Jul 14 15:21:36 2009
@@ -283,7 +283,7 @@
     }
     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 @@
 
         (*I).dumpToStream(os);
       }
-      os << " }";
+      os << "}";
       break;
     }      
     default:





More information about the cfe-commits mailing list