process_sp->ReadMemory(data_location, m_data_64, sizeof(D64),
error);
}
- if (error.Fail())
- return false;
- return false;
+
+ return error.Success();
}
bool
process_sp->ReadMemory(data_location, m_data_64, sizeof(D64),
error);
}
- if (error.Fail())
- return false;
- return false;
+
+ return error.Success();
}
template <typename D32, typename D64, bool Inline>
process_sp->ReadMemory(data_location, m_data_64, sizeof(D64),
error);
}
- if (error.Fail())
- return false;
- return true;
+
+ return error.Success();
}
template <typename D32, typename D64>
process_sp->ReadMemory(data_location, m_data_64, sizeof(DataDescriptor_64),
error);
}
- if (error.Fail())
- return false;
- return false;
+
+ return error.Success();
}
bool
if (error.Fail())
return false;
m_data_ptr = data_location + m_ptr_size;
- return false;
+ return true;
}
bool lldb_private::formatters::NSSetISyntheticFrontEnd::MightHaveChildren() {
process_sp->ReadMemory(data_location, m_data_64, sizeof(D64),
error);
}
- if (error.Fail())
- return false;
- return false;
+ return error.Success();
}
template <typename D32, typename D64>