]> granicus.if.org Git - clang/commit
Teach reference initialization from the result of a user-defined
authorDouglas Gregor <dgregor@apple.com>
Mon, 15 Aug 2011 13:59:46 +0000 (13:59 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 15 Aug 2011 13:59:46 +0000 (13:59 +0000)
commitf20d27288c7f124dcc9c50c7c6bf766d522ceb31
tree58c97cb09c82bb356866adcebe29eeee9547b63f
parent2fd9a474877d476400df06e8cbce7e972b342b5a
Teach reference initialization from the result of a user-defined
conversion to initialize the standard conversion *after* the
user-defined conversion properly. Fixes PR10644.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137608 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOverload.cpp
test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-0x.cpp