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

David Chisnall David.Chisnall at cl.cam.ac.uk
Wed Jan 14 01:36:14 PST 2015


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...

David





More information about the cfe-dev mailing list