diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-06-21 23:19:13 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-06-21 23:19:13 +0000 |
commit | 092386771dbebffbf1d2752cdaee4be577239e9b (patch) | |
tree | 967ae72f161fbeefe67c6802c398734c0faaa9f1 /llvm/tools/llvm-dis/llvm-dis.cpp | |
parent | 62ef3bfd3d93c64da58a72c27d08353829c6be9a (diff) | |
download | bcm5719-llvm-092386771dbebffbf1d2752cdaee4be577239e9b.tar.gz bcm5719-llvm-092386771dbebffbf1d2752cdaee4be577239e9b.zip |
Fix PR27684 - std::tuple no longer accepts reference to incomplete type in some cases.
Libc++ has to deduce the 'allocator_arg_t' parameter as 'AllocArgT' for the
following constructor:
template <class Alloc> tuple(allocator_arg_t, Alloc const&)
Previously libc++ has tried to support tags derived from 'allocator_arg_t' by
using 'is_base_of<AllocArgT, allocator_arg_t>'. However this breaks whenever a
2-tuple contains a reference to an incomplete type as its first parameter.
See https://llvm.org/bugs/show_bug.cgi?id=27684
llvm-svn: 273334
Diffstat (limited to 'llvm/tools/llvm-dis/llvm-dis.cpp')
0 files changed, 0 insertions, 0 deletions