EricWF added a comment.

In, @vsapsai wrote:

> Another approach is `__has_feature` but I don't think it is applicable in 
> this case.
> Is there a way right now to detect that aligned allocation is supported by 
> clang, regardless of link time? Asking to make sure we are consistent.

There is a C++ feature test macro, as specified by the standard, 
`__cpp_aligned_new`.  But I'm not sure how to be consistent with that.

  rC Clang

cfe-commits mailing list

Reply via email to