[PATCH] D55791: [libcxx] Simplify conditional definition of _LIBCPP_HAS_NO_ALIGNED_ALLOCATION

Marshall Clow via Phabricator reviews at reviews.llvm.org
Mon Jan 7 08:00:28 PST 2019


mclow.lists added a comment.

In general, we *do* protect against user-defined defines.  
This, and defining stuff as negative (`_LIBCPP_HAS_NO_XXX`) lets users disable parts of the libc++ functionality by defining the macros.

So I think we should leave this "as is"


Repository:
  rCXX libc++

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55791/new/

https://reviews.llvm.org/D55791





More information about the libcxx-commits mailing list