[LLVMdev] PointerType API Change

Gordon Henriksen gordonhenriksen at mac.com
Sun Dec 16 23:01:44 PST 2007

Hi Anton,

On 2007-12-17, at 01:22, Anton Korobeynikov wrote:

> Christopher,
>> The API for getting PointerType objects has just changed to make  
>> Embedded C address space information explicit. The old semantics of  
>> PointerType::get() now apply to PointerType::getUnqual(), which  
>> returns a pointer in the generic address space. PointerType::get()  
>> now requires both a type and an address space.
> What is the reason of such change?

The rationale is in this thread from llvm-commits:


— Gordon

More information about the llvm-dev mailing list