diff options
author | Eric Fiselier <eric@efcs.ca> | 2015-08-28 05:07:06 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2015-08-28 05:07:06 +0000 |
commit | d48306e7048c8f872ff92ce66c5704f5144cc352 (patch) | |
tree | 762779eb83c47f40427dd2835e7b874b86248027 /llvm/lib/Object/SymbolicFile.cpp | |
parent | cb38f75e29a56c45682d46753a45da0439ad86dd (diff) | |
download | llvm-d48306e7048c8f872ff92ce66c5704f5144cc352.zip llvm-d48306e7048c8f872ff92ce66c5704f5144cc352.tar.gz llvm-d48306e7048c8f872ff92ce66c5704f5144cc352.tar.bz2 |
[libcxx] Constrain unique_ptr::operator=(unique_ptr<Tp, Dp>) in C++03 mode
Summary:
This patch properly constrains the converting assignment operator in C++03. It also fixes a bug where std::forward was given the wrong type.
The following two tests begin passing in C++03:
* `unique_ptr.single.asgn/move_convert.pass.cpp`
* `unique_ptr.single.asgn/move_convert13.fail.cpp`
Reviewers: mclow.lists
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D12173
llvm-svn: 246272
Diffstat (limited to 'llvm/lib/Object/SymbolicFile.cpp')
0 files changed, 0 insertions, 0 deletions