summaryrefslogtreecommitdiffstats
path: root/lldb/source/DataFormatters/CF.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2013-11-02 02:23:02 +0000
committerJason Molenda <jmolenda@apple.com>2013-11-02 02:23:02 +0000
commitf23bf7432cfe632976bf9004707cf8133f30e3e1 (patch)
tree7c999f09d60866c9bea2a4dd8bc1caaa165d1877 /lldb/source/DataFormatters/CF.cpp
parent30bfa3623b6ec59fc03cba486040eef77cd5f847 (diff)
downloadbcm5719-llvm-f23bf7432cfe632976bf9004707cf8133f30e3e1.tar.gz
bcm5719-llvm-f23bf7432cfe632976bf9004707cf8133f30e3e1.zip
Add a new base class, Frame. It is a pure virtual function which
defines a protocol that all subclasses will implement. StackFrame is currently the only subclass and the methods that Frame vends are nearly identical to StackFrame's old methods. Update all callers to use Frame*/Frame& instead of pointers to StackFrames. This is almost entirely a mechanical change that touches a lot of the code base so I'm committing it alone. No new functionality is added with this patch, no new subclasses of Frame exist yet. I'll probably need to tweak some of the separation, possibly moving some of StackFrame's methods up in to Frame, but this is a good starting point. <rdar://problem/15314068> llvm-svn: 193907
Diffstat (limited to 'lldb/source/DataFormatters/CF.cpp')
-rw-r--r--lldb/source/DataFormatters/CF.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/DataFormatters/CF.cpp b/lldb/source/DataFormatters/CF.cpp
index a4b7a1235ff..116017ca6e6 100644
--- a/lldb/source/DataFormatters/CF.cpp
+++ b/lldb/source/DataFormatters/CF.cpp
@@ -79,7 +79,7 @@ lldb_private::formatters::CFBagSummaryProvider (ValueObject& valobj, Stream& str
if (is_type_ok == false)
{
- StackFrameSP frame_sp(valobj.GetFrameSP());
+ FrameSP frame_sp(valobj.GetFrameSP());
if (!frame_sp)
return false;
ValueObjectSP count_sp;
@@ -273,7 +273,7 @@ lldb_private::formatters::CFBinaryHeapSummaryProvider (ValueObject& valobj, Stre
if (is_type_ok == false)
{
- StackFrameSP frame_sp(valobj.GetFrameSP());
+ FrameSP frame_sp(valobj.GetFrameSP());
if (!frame_sp)
return false;
ValueObjectSP count_sp;
OpenPOWER on IntegriCloud