summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-01-30 23:27:23 +0000
committerDouglas Gregor <dgregor@apple.com>2009-01-30 23:27:23 +0000
commit576e98cc1e5133980630f1cbbc95522b7017d484 (patch)
treed4e6157dc2097e66b02df6aa58fbe71123d61361 /clang/lib/CodeGen/CodeGenModule.cpp
parentf6e6057e92d58efde867c21b4ada7255dc687ce8 (diff)
downloadbcm5719-llvm-576e98cc1e5133980630f1cbbc95522b7017d484.tar.gz
bcm5719-llvm-576e98cc1e5133980630f1cbbc95522b7017d484.zip
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. llvm-svn: 63450
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud