[LLVMdev] Dereference PointerType?

Duncan Sands baldrick at free.fr
Tue Oct 20 03:44:51 PDT 2009


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.



More information about the llvm-dev mailing list