Displaying 2 results from an estimated 2 matches for "getprimitiveid".
2004 Jun 17
3
[LLVMdev] Primitive types
Hello,
I'm getting this in debugger, where 't' is 'Type*':
(gdb) p t->isPrimitiveType()
$15 = false
(gdb) p t->getPrimitiveID()
$16 = PointerTyID
(gdb) p t->getPrimitiveSize()
$17 = 0
There are a couple of things that I'd like to ask. First, if isPrimitiveType()
returns false, that the fact that getPrimitiveID returns reasonable value is
quite strange. Maybe, the method is better called just getID, sinc...
2004 Jun 17
0
[LLVMdev] Primitive types
On Thu, 17 Jun 2004, Vladimir Prus wrote:
> I'm getting this in debugger, where 't' is 'Type*':
>
> (gdb) p t->isPrimitiveType()
> $15 = false
> (gdb) p t->getPrimitiveID()
> $16 = PointerTyID
> (gdb) p t->getPrimitiveSize()
> $17 = 0
>
> There are a couple of things that I'd like to ask. First, if
> isPrimitiveType() returns false, that the fact that getPrimitiveID
> returns reasonable value is quite strange. Maybe, the method...