diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-01-30 23:27:23 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-01-30 23:27:23 +0000 |
commit | 734d9869efb5d126df53ba70a6060789887e0d68 (patch) | |
tree | a9032656d874ab03253c8ea9738c28d09b6adda9 /lib/CodeGen/CodeGenTypes.h | |
parent | ad53eff73224b29955da59f65e6b9eba1a5f6b76 (diff) |
Improve our handling of the second step in a user-defined conversion
sequence. Previously, we weren't permitting the second step to call
copy constructors, which left user-defined conversion sequences
surprisingly broken.
Now, we perform overload resolution among all of the constructors, but
only accept the result if it makes the conversion a standard
conversion. Note that this behavior is different from both GCC and EDG
(which don't agree with each other, either); I've submitted a core
issue on the matter.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63450 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenTypes.h')
0 files changed, 0 insertions, 0 deletions