[LLVMdev] r134829

Chris Lattner sabre at nondot.org
Tue Jul 12 08:56:02 PDT 2011


On Jul 12, 2011, at 5:04 AM, Vitaly Lugovskiy wrote:

> Hi Chris,
> 
> What's a new way of building recursive types (with C bindings), once
> RefineType had been removed? And what's an exact reason for getting
> rid of the opaque types - I could not find a relevant discussion in a
> mailing list.

Hi Vitaly,

I didn't add this API, because I'm not very familiar with the C API.  It should be very straight-forward: just expose a wrapper for "StructType::setBody" and "StructType::createNamed".  

Some motivation for the change is here:
http://nondot.org/sabre/LLVMNotes/TypeSystemRewrite.txt

-Chris



More information about the llvm-dev mailing list