[PATCH] D109609: [C++4OpenCL] Add support for multiple address spaced destructors

Ronan Keryell via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 17 08:33:48 PDT 2021


keryell added a comment.

In D109609#3006225 <https://reviews.llvm.org/D109609#3006225>, @olestrohm wrote:

> 



> re: @keryell 
> This might work, though I have no idea how that `SomeAPIReturningAddrSpace` would work, since at this point the variable would likely be cast to be in __generic addrspace.
> Also I'm not sure how that would interact with deleted destructors.

You mean for example say that the constructor in `global` address-space would have some definition but the constructor in `constant` is deleted?
Ouch. You are killing my suggestion. :-)


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

https://reviews.llvm.org/D109609



More information about the cfe-commits mailing list