aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Language/ObjC/CF.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/Language/ObjC/CF.cpp')
-rw-r--r--lldb/source/Plugins/Language/ObjC/CF.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lldb/source/Plugins/Language/ObjC/CF.cpp b/lldb/source/Plugins/Language/ObjC/CF.cpp
index 2610468b17fd..fa2130e4b01e 100644
--- a/lldb/source/Plugins/Language/ObjC/CF.cpp
+++ b/lldb/source/Plugins/Language/ObjC/CF.cpp
@@ -74,10 +74,10 @@ bool lldb_private::formatters::CFBagSummaryProvider(
if (descriptor->IsCFType()) {
ConstString type_name(valobj.GetTypeName());
- static ConstString g___CFBag("__CFBag");
+ static ConstString g_CFBag("__CFBag");
static ConstString g_conststruct__CFBag("const struct __CFBag");
- if (type_name == g___CFBag || type_name == g_conststruct__CFBag) {
+ if (type_name == g_CFBag || type_name == g_conststruct__CFBag) {
if (valobj.IsPointerType())
is_type_ok = true;
}
@@ -158,7 +158,7 @@ bool lldb_private::formatters::CFBitVectorSummaryProvider(
// make sure we do not try to read huge amounts of data
if (num_bytes > 1024)
num_bytes = 1024;
- DataBufferSP buffer_sp(new DataBufferHeap(num_bytes, 0));
+ WritableDataBufferSP buffer_sp(new DataBufferHeap(num_bytes, 0));
num_bytes =
process_sp->ReadMemory(data_ptr, buffer_sp->GetBytes(), num_bytes, error);
if (error.Fail() || num_bytes == 0)
@@ -257,12 +257,12 @@ bool lldb_private::formatters::CFBinaryHeapSummaryProvider(
if (descriptor->IsCFType()) {
ConstString type_name(valobj.GetTypeName());
- static ConstString g___CFBinaryHeap("__CFBinaryHeap");
+ static ConstString g_CFBinaryHeap("__CFBinaryHeap");
static ConstString g_conststruct__CFBinaryHeap(
"const struct __CFBinaryHeap");
static ConstString g_CFBinaryHeapRef("CFBinaryHeapRef");
- if (type_name == g___CFBinaryHeap ||
+ if (type_name == g_CFBinaryHeap ||
type_name == g_conststruct__CFBinaryHeap ||
type_name == g_CFBinaryHeapRef) {
if (valobj.IsPointerType())