hfinkel added a comment.

In https://reviews.llvm.org/D40144#927828, @tcanens wrote:

> At least for GCC, it should use `__builtin_launder`.


I presume we'll need to add something similar for Clang as well.

> Also needs to implement "The program is ill-formed if `T` is a function type 
> or //cv// `void`."




https://reviews.llvm.org/D40144



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to