[cfe-dev] Question about stripping address-space qualifier with C++

Philip Reames listmail at philipreames.com
Wed Jan 14 09:24:44 PST 2015


On 01/14/2015 01:36 AM, David Chisnall wrote:
> On 13 Jan 2015, at 20:00, Matt Arsenault <Matthew.Arsenault at amd.com> wrote:
>> This sounds like you are working around builtins not working correctly with address spaces (which is probably most of them). Stripping the address space qualifier is not really what you want
> This is a problem that I've had as well.  Clang's builtin infrastructure lets you specify an address space for a builtin, but doesn't have a way of expressing builtins that are polymorphic in their address spaces.  This is probably something that we need to fix.  I'd be very happy to review patches to do this and may even have some time next week to have a pass at implementing it...
This is on my wish list as well.  I'll be happy to help review, but am 
not going to get time to work on this myself any time soon.

Philip



More information about the cfe-dev mailing list