commit | ed878af7914df535b32d64f555fa118413186672 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Feb 24 23:56:31 2012 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Feb 24 23:56:31 2012 +0000 |
tree | 527d0c3979ed2ec0c8a59064c3502187779002fa | |
parent | 5a13d4d2c1e45ab611ca857d923caacfaeb3cd07 [diff] |
Implement C++11 [over.match.copy]p1b2, which allows the use of explicit conversion functions to initialize the argument to a copy/move constructor that itself is the subject of direct initialization. Since we don't have that much context in overload resolution, we end up threading more flags :(. Fixes <rdar://problem/10903741> / PR10456. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151409 91177308-0d34-0410-b5e6-96231b3b80d8