[llvm-commits] Creating empty structure types from C binding

Eric Christopher echristo at apple.com
Wed Jan 11 11:16:45 PST 2012


On Jan 10, 2012, at 8:31 AM, lost wrote:

> Hello!
> 
> This small patch adds LLVMStructCreateEmptyTypeInContext function to C
> binding that allows C clients to create empty structure types that
> would be filled later. This is required for building recursive types.
> 

Out of curiosity why not just overload the existing one in the case of NULL elements?

-eric




More information about the llvm-commits mailing list