[LLVMdev] Type of Pointer

Óscar Fuentes ofv at wanadoo.es
Sun Nov 11 12:47:49 PST 2012


sunil rathee <ratheesuniljec at gmail.com> writes:

> Can we find the type of the pointer, means can we find is it a Integer
> pointer or float, etc.

Suppossing `ptype' is a PointerType, ptype->getElementType() should do
the trick.




More information about the llvm-dev mailing list