search for: typexyz

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

2005 Jun 10
2
[LLVMdev] Problems with void*
...y 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*
...-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! > > _______________________________________________ > LLVM Deve...