Eric Fiselier
657a13025c
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.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@344207 91177308-0d34-0410-b5e6-96231b3b80d8
2018-10-11 00:17:24 +00:00
..
2018-07-30 22:27:38 +00:00
2017-05-10 21:40:58 +00:00
2018-10-01 02:54:08 +00:00
2018-08-17 17:27:25 +00:00
2017-08-03 02:50:43 +00:00
2018-07-11 23:14:33 +00:00
2018-10-11 00:17:24 +00:00
2018-08-16 12:44:28 +00:00
2017-01-16 21:01:00 +00:00
2018-07-03 03:25:10 +00:00
2018-04-25 23:38:41 +00:00
2018-09-23 18:35:00 +00:00
2018-08-01 01:33:38 +00:00
2018-08-01 13:54:28 +00:00
2018-07-11 23:14:33 +00:00
2018-08-01 02:08:59 +00:00
2018-08-23 17:08:02 +00:00
2018-07-11 23:14:33 +00:00
2017-05-31 22:07:49 +00:00
2018-03-22 04:42:56 +00:00
2017-05-31 22:07:49 +00:00
2018-02-06 18:58:05 +00:00
2018-09-17 07:40:42 +00:00
2018-08-03 22:36:53 +00:00
2017-04-19 01:23:39 +00:00
2017-05-31 22:07:49 +00:00
2018-10-08 20:20:34 +00:00
2018-09-12 19:41:40 +00:00
2018-09-12 19:41:40 +00:00
2018-09-12 19:41:40 +00:00
2018-09-12 19:41:40 +00:00
2018-08-03 22:36:53 +00:00
2018-07-31 23:29:06 +00:00
2018-08-01 02:38:30 +00:00
2018-09-12 19:41:40 +00:00
2018-08-17 16:07:48 +00:00
2018-09-12 19:41:40 +00:00
2018-07-11 23:14:33 +00:00
2018-07-10 13:21:03 +00:00
2018-09-12 19:41:40 +00:00
2017-03-02 03:22:18 +00:00
2018-09-12 19:41:40 +00:00
2017-04-07 02:20:52 +00:00
2018-08-15 21:19:08 +00:00
2018-08-15 21:19:08 +00:00
2017-05-10 20:57:45 +00:00
2018-09-12 19:41:40 +00:00
2018-09-12 19:41:40 +00:00
2018-10-01 01:59:37 +00:00
2018-07-31 23:29:06 +00:00
2018-09-12 19:41:40 +00:00
2018-07-27 03:07:09 +00:00
2018-09-23 18:35:00 +00:00
2018-08-24 14:00:59 +00:00
2018-07-11 23:14:33 +00:00
2018-09-12 19:41:40 +00:00
2018-07-11 23:14:33 +00:00
2017-01-04 23:56:00 +00:00
2018-07-25 19:40:01 +00:00
2018-09-12 19:41:40 +00:00
2017-06-01 02:29:37 +00:00
2018-09-12 19:41:40 +00:00
2018-07-11 23:14:33 +00:00
2018-09-12 19:41:40 +00:00
2018-07-11 23:14:33 +00:00
2018-10-11 00:17:24 +00:00
2018-08-17 16:07:48 +00:00
2018-10-09 23:42:29 +00:00
2018-10-11 00:17:24 +00:00
2018-09-12 19:41:40 +00:00
2018-09-12 19:41:40 +00:00
2018-09-19 23:31:34 +00:00
2018-05-22 01:57:53 +00:00
2018-08-16 23:56:54 +00:00
2018-01-02 17:17:01 +00:00
2018-10-01 01:59:37 +00:00
2018-09-12 19:41:40 +00:00
2018-09-12 19:41:40 +00:00
2018-09-12 19:41:40 +00:00
2018-10-03 21:36:16 +00:00
2018-08-03 22:36:53 +00:00
2018-05-22 01:57:53 +00:00
2018-08-20 22:29:20 +00:00
2018-08-03 22:36:53 +00:00
2018-01-23 18:53:33 +00:00
2017-05-10 20:57:45 +00:00
2018-07-11 23:14:33 +00:00
2018-09-12 19:41:40 +00:00
2018-09-12 19:41:40 +00:00
2017-04-18 23:38:41 +00:00
2018-08-01 02:08:59 +00:00
2018-02-12 19:13:24 +00:00
2018-03-20 22:37:37 +00:00
2018-09-12 19:41:40 +00:00
2018-09-12 19:41:40 +00:00
2017-01-04 23:56:00 +00:00
2018-08-03 22:36:53 +00:00
2018-09-12 19:41:40 +00:00
2018-09-12 19:41:40 +00:00
2018-10-01 01:59:37 +00:00
2018-03-22 04:42:56 +00:00
2018-09-19 17:53:21 +00:00
2018-10-01 01:59:37 +00:00
2018-09-12 19:41:40 +00:00
2017-09-15 18:49:34 +00:00