[PATCH] D40144: Implement `std::launder`
Hal Finkel via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 16 12:41:07 PST 2017
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
More information about the cfe-commits
mailing list