commit | 2b1e0039a1937e3df59b5c99bcf4746360db3441 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Mon Feb 02 22:11:10 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Mon Feb 02 22:11:10 2009 +0000 |
tree | 4e15ad97d945346442306a1409aa39fffaaac919 | |
parent | 88b5396b0897f28d22ae3debf4a0d97b33b6c362 [diff] |
Steve set me straight on this one. GCC was right, EDG was wrong: the direct-initialization following a user-defined conversion can select any constructor; it just can't employ any user-defined conversions. So we ban those conversions and classify the constructor call based on the relationship between the "from" and "to" types in the conversion. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63554 91177308-0d34-0410-b5e6-96231b3b80d8