commit | 79b680ea869983d62b84a9175eeb6b6efb376326 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Nov 13 18:44:21 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Nov 13 18:44:21 2009 +0000 |
tree | 89057c43da06cb790e38a6f290d0aba93363e3a8 | |
parent | afe7ec28b1880335daba5f7310fe5191e14c4e76 [diff] |
When performing copy initialization (= "implicit conversion", here) to a class type from itself or a derived class thereof, enumerate constructors and permit user-defined conversions to the arguments of those constructors. This fixes the wacky implicit conversion sequence used in std::auto_ptr's lame emulation of move semantics. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88670 91177308-0d34-0410-b5e6-96231b3b80d8