diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-07-13 23:53:06 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-07-13 23:53:06 +0000 |
commit | 6f9b3a4d7143362d3c2ac1f843d76971799f5b97 (patch) | |
tree | a1837efc84abf2d1700d8d81d1ce17de2d415361 /lib/Analysis/RegionStore.cpp | |
parent | aef5d2205a4425a4d3e1b0e28d46ed80763651df (diff) |
Tidy pretty-printing for SVals, using 'dump()' instead of 'printStdErr()', and implementing operator<< support for llvm::raw_ostream.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75560 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/RegionStore.cpp')
-rw-r--r-- | lib/Analysis/RegionStore.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Analysis/RegionStore.cpp b/lib/Analysis/RegionStore.cpp index 2999225a43..c59d935c3d 100644 --- a/lib/Analysis/RegionStore.cpp +++ b/lib/Analysis/RegionStore.cpp @@ -1438,8 +1438,6 @@ void RegionStoreManager::print(Store store, llvm::raw_ostream& OS, RegionBindingsTy B = GetRegionBindings(store); OS << "Store:" << nl; - for (RegionBindingsTy::iterator I = B.begin(), E = B.end(); I != E; ++I) { - OS << ' ' << I.getKey() << " : "; - I.getData().print(OS); OS << nl; - } + for (RegionBindingsTy::iterator I = B.begin(), E = B.end(); I != E; ++I) + OS << ' ' << I.getKey() << " : " << I.getData() << nl; } |