search for: mfield1

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

Did you mean: field1
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 uwtable ssp { entry: ... } It makes the struct field...
2013 Jan 20
0
[LLVMdev] Clang's approach to anonymous struct pointer parameters
...lorian 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 > @MyCompletionProc(%struct.XBeePacket* %inPacket, i8* %inParam2) > nounwind uwtable ssp >...