[cfe-commits] r75550 - /cfe/trunk/lib/Analysis/MemRegion.cpp

Ted Kremenek kremenek at apple.com
Mon Jul 13 16:39:22 PDT 2009


Author: kremenek
Date: Mon Jul 13 18:38:57 2009
New Revision: 75550

URL: http://llvm.org/viewvc/llvm-project?rev=75550&view=rev
Log:
When pretty-printing symbolic regions, use '{' ... '}' to indicate the symbol used for the region (makes it easier to read for nested regions).

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

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

==============================================================================
--- cfe/trunk/lib/Analysis/MemRegion.cpp (original)
+++ cfe/trunk/lib/Analysis/MemRegion.cpp Mon Jul 13 18:38:57 2009
@@ -191,7 +191,7 @@
 }
 
 void SymbolicRegion::dumpToStream(llvm::raw_ostream& os) const {
-  os << "SymRegion-" << sym;
+  os << "SymRegion{" << sym << '}';
 }
 
 void TypedViewRegion::dumpToStream(llvm::raw_ostream& os) const {





More information about the cfe-commits mailing list