diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-12-08 23:57:08 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-12-08 23:57:08 +0000 |
commit | bd688258baf97e840c2bd0c4c307503042b1620c (patch) | |
tree | cbb8347d38586b15fa0b624fb0dfa7cb83844194 /lldb/packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py | |
parent | 568196bf7b6eb3528df71d017c59cbf25ad63141 (diff) | |
download | bcm5719-llvm-bd688258baf97e840c2bd0c4c307503042b1620c.tar.gz bcm5719-llvm-bd688258baf97e840c2bd0c4c307503042b1620c.zip |
Fix PR27374 - Remove the implicit reduced-arity-extension in tuple.
This patch removes libc++'s tuple extension which allowed it to be
constructed from fewer initializers than elements; with the remaining
elements being default constructed. However the implicit version of
this extension breaks conforming code. For example:
int fun(std::string);
int fun(std::tuple<std::string, int>);
int x = fun("hello"); // ambigious
Because existing code may already depend on this extension it can be re-enabled
by defining _LIBCPP_ENABLE_TUPLE_IMPLICIT_REDUCED_ARITY_EXTENSION.
Note that the explicit version of this extension is still supported,
although it's somewhat less useful than the implicit one.
llvm-svn: 289158
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py')
0 files changed, 0 insertions, 0 deletions