search for: castinst1

Displaying 2 results from an estimated 2 matches for "castinst1".

Did you mean: castinst
2005 Jun 10
2
[LLVMdev] Problems with void*
...fine, but if I try to compile it with llvm-as, as soon as it finds 'void *' it complains that it was expecting an "(" instead of an "*". I suppose that the correct syntax is something like this: 'void (sbyte *)*' For example, these lines can cause the error: %castinst1 = cast typeXYZ* %var to void* ; <void*> [#uses=1] or %astruct = type { %int*, %void*, *astruct } My question is, how can I generate 'void (sbyte*)*' using the LLVM classes? Thanks!
2005 Jun 10
0
[LLVMdev] Problems with void*
...pile it with llvm-as, as soon as it finds 'void *' it complains that it was expecting an "(" > instead of an "*". I suppose that the correct syntax is something like this: 'void (sbyte *)*' > > For example, these lines can cause the error: > > %castinst1 = cast typeXYZ* %var to void* ; <void*> [#uses=1] > > or > > %astruct = type { %int*, %void*, *astruct } > > My question is, how can I generate 'void (sbyte*)*' using the LLVM classes? > > Thanks! > > _______________________________________________...