[PATCH] D45015: [Preprocessor] Allow libc++ to detect when aligned allocation is unavailable.

Volodymyr Sapsai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 11 15:36:34 PDT 2018


vsapsai added a comment.

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.


Repository:
  rC Clang

https://reviews.llvm.org/D45015





More information about the cfe-commits mailing list