teak-llvm/libcxx
Eric Fiselier 42f9868cd8 Distinguish between library and language support for aligned allocation.
There are two cases:
1. The library has all it needs to provide align_val_t and the
new/delete overloads needed to support aligned allocation.
2. The compiler has actually turned the language feature on.

There are times where libc++ needs to distinguish between the two.

This patch adds the additional macro
_LIBCPP_HAS_NO_LIBRARY_ALIGNED_ALLOCATION which denotes when case (1)
does not hold. _LIBCPP_HAS_NO_ALIGNED_ALLOCATION is defined whenever
_LIBCPP_HAS_NO_LIBRARY_ALIGNED_ALLOCATION is defined, or when the
compiler has not enabled the language feature.

Additionally this patch cleans up a number of other macros related
to detection of aligned allocation machinery.

llvm-svn: 344207
2018-10-11 00:17:24 +00:00
..
benchmarks Add test macros for always_inline and noinline 2018-10-10 18:22:23 +00:00
cmake [CMake] Use just basename when copying C++ ABI headers 2018-10-04 05:38:53 +00:00
docs [libc++] Add deprecated attributes to many deprecated components 2018-09-23 18:35:00 +00:00
fuzzing
include Distinguish between library and language support for aligned allocation. 2018-10-11 00:17:24 +00:00
lib [libcxx] Document new symbols __u64toa and __u32toa on Darwin 2018-09-23 21:10:06 +00:00
src Distinguish between library and language support for aligned allocation. 2018-10-11 00:17:24 +00:00
test Use TEST_STD_VER instead of __cplusplus [NFC] 2018-10-10 22:35:24 +00:00
utils [libc++] Add _LIBCPP_ENABLE_NODISCARD and _LIBCPP_NODISCARD_EXT to allow pre-C++2a [[nodiscard]] 2018-09-22 17:54:48 +00:00
www Papers and Issues for San Diego 2018-10-06 15:07:03 +00:00
.arcconfig
.clang-format
.gitignore
appveyor-reqs-install.cmd Update Clang version on Appveyor bots 2018-04-04 04:33:09 +00:00
appveyor.yml
CMakeLists.txt Remove one more warning from clang-cl build 2018-10-01 03:59:05 +00:00
CREDITS.TXT
LICENSE.TXT
NOTES.TXT Reland "Use custom command and target to install libc++ headers" 2018-06-12 03:10:02 +00:00
TODO.TXT