[PATCH] D34574: [Sema] Disable c++17 aligned new and delete operators if not implemented in the deployment target's c++ standard library
Richard Smith - zygoloid via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 23 20:18:42 PDT 2017
rsmith added a comment.
In https://reviews.llvm.org/D34574#789539, @ahatanak wrote:
> Is there any cases where we can turn the linker error into a compile time error?
We could possibly implicitly put an availability attribute on the implicit declarations or something equivalent, to say "hey, we think your target doesn't support this" (but it'd still need to be a decision made by the driver and overridable by the user if they know better).
More information about the cfe-commits