Displaying 2 results from an estimated 2 matches for "inparam2".
Did you mean:
anaparam2
2013 Jan 20
2
[LLVMdev] Clang's approach to anonymous struct pointer parameters
For the following code:
struct XBeePacket;
typedef void (*CompletionProc)(XBeePacket* inPacket, void* inParam2);
struct
XBeePacket
{
bool mField1;
CompletionProc mCompletionProc;
};
Why does clang emit this IR?
%struct.XBeePacket = type { i8, {}* }
define void
@MyCompletionProc(%struct.XBeePacket* %inPacket, i8* %inParam2)
nounwind...
2013 Jan 20
0
[LLVMdev] Clang's approach to anonymous struct pointer parameters
...a bug in Clang's LLVM-IR code generator:
http://llvm.org/bugs/show_bug.cgi?id=14920
Best,
Florian
On Sunday, January 20, 2013 01:57:37 Rick Mann wrote:
> For the following code:
>
> struct XBeePacket;
>
> typedef void (*CompletionProc)(XBeePacket* inPacket, void* inParam2);
>
> struct
> XBeePacket
> {
> bool mField1;
> CompletionProc mCompletionProc;
> };
>
> Why does clang emit this IR?
>
> %struct.XBeePacket = type { i8, {}* }
>
> define void
> @MyCompleti...