Nico Weber
0fd00a581d
libc++/win: Make once_flag have the same size as a pointer.
...
`unsigned long` is 32-bit on 32-bit systems and 64-bit on 64-bit systems
on LP64 systems -- which most Unix systems are, but Windows isn't.
Windows is LLP64, which means unsigned long is 32-bit even on 64-bit
systems.
pplwin.h contains
static_assert(alignof(void *) == alignof(::std::once_flag), ...)
which fails due to this problem.
Instead of unsigned long, use uintptr_t, which consistently is 32-bit
on 32-bit systems and 64-bit on 64-bit systems.
No functional change except on 64-bit Windows.
Differential Revision: https://reviews.llvm.org/D59607
llvm-svn: 356624
2019-03-20 22:55:03 +00:00
..
2019-02-27 17:33:25 +00:00
2019-01-19 10:56:40 +00:00
2019-03-11 15:41:51 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-03-20 21:18:14 +00:00
2019-01-19 10:56:40 +00:00
2019-03-18 21:50:12 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-03-18 21:50:12 +00:00
2019-01-16 10:57:02 +00:00
2019-03-08 23:59:29 +00:00
2019-01-19 10:56:40 +00:00
2019-02-27 17:33:25 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 10:56:40 +00:00
2019-01-23 23:06:18 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 08:50:56 +00:00
2019-03-08 22:58:59 +00:00
2019-01-19 08:50:56 +00:00
2019-03-19 03:30:07 +00:00
2019-03-08 23:30:26 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-03-20 18:13:23 +00:00
2019-03-20 21:18:14 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-03-11 15:41:51 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-03-19 03:30:07 +00:00
2019-01-19 10:56:40 +00:00
2019-03-05 01:57:01 +00:00
2019-02-12 00:05:14 +00:00
2019-03-20 21:18:14 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-03-20 14:34:00 +00:00
2019-01-29 23:19:45 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 10:56:40 +00:00
2019-02-12 16:06:02 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-03-18 21:50:12 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-03-18 21:50:12 +00:00
2019-02-01 21:59:27 +00:00
2019-01-19 10:56:40 +00:00
2019-02-12 16:06:02 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-02-11 23:47:19 +00:00
2019-03-20 22:55:03 +00:00
2019-03-05 01:57:01 +00:00
2019-03-14 16:25:55 +00:00
2019-03-11 22:55:21 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-24 02:02:50 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-03-06 03:59:44 +00:00
2019-02-01 21:59:27 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-03-06 20:31:57 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-03-19 03:30:07 +00:00
2019-03-19 03:30:07 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-02-07 19:03:48 +00:00
2019-02-27 17:57:38 +00:00
2019-01-19 10:56:40 +00:00
2019-03-05 01:57:01 +00:00
2019-02-12 16:06:02 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-03-19 19:19:44 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00