[LLVMdev] Dereference PointerType?

Daniel Waterworth da.waterworth at googlemail.com
Tue Oct 20 03:51:25 PDT 2009


I can't believe I missed it. I think I must have forgotten to look at
SequentialType when I was searching through the API docs.

Thanks very much,

Daniel

2009/10/20 Duncan Sands <baldrick at free.fr>

> Hi Daniel,
>
>     Type *allocated_type = ptr_type->dereference(); // this is the
>>    operation that doesn't seem to exist.
>>
>
> Type *allocated_type = ptr_type->getElementType();
>
> Ciao,
>
> Duncan.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091020/51ecda81/attachment.html>


More information about the llvm-dev mailing list