[libcxx-commits] [PATCH] D76636: [RFC] Added type trait to remove address space qualifier from type

Anastasia Stulova via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jun 23 03:09:32 PDT 2021


Anastasia added a comment.

In D76636#2835000 <https://reviews.llvm.org/D76636#2835000>, @rjmccall wrote:

> Anastasia, are you still looking at this?  It looks like you have a fix for your bug, but the patch never got updated.

It would be good to have this functionality but it seems that `libc++` currently doesn't accept functionality that is not in standard C++ yet.

I am now looking at adding this pattern in the Clang headers for OpenCL. Alternatively, we can add a clang builtin for this if you think it is useful to the wider community? Other options could include adding a specific header or libs to implement address space-specific logic in C++.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76636/new/

https://reviews.llvm.org/D76636



More information about the libcxx-commits mailing list