diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-11-13 18:44:21 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-11-13 18:44:21 +0000 |
commit | 379d84b7ed24980a3dbd3d60e4ab2bacce290c0c (patch) | |
tree | 7a05374f27c08e4419a4167ba3ffdd9017488c00 /clang/test/Analysis/cfref_rdar6080742.c | |
parent | 07eae02fc7252d4f7c13aac82be47d650b3057bf (diff) | |
download | bcm5719-llvm-379d84b7ed24980a3dbd3d60e4ab2bacce290c0c.tar.gz bcm5719-llvm-379d84b7ed24980a3dbd3d60e4ab2bacce290c0c.zip |
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.
llvm-svn: 88670
Diffstat (limited to 'clang/test/Analysis/cfref_rdar6080742.c')
0 files changed, 0 insertions, 0 deletions