llvm-project/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref
Douglas Gregor f143cd5051 Re-instate r123977/r123978, my updates of the reference-binding
implementation used by overload resolution to support rvalue
references. The original commits caused PR9026 and some
hard-to-reproduce self-host breakage.

The only (crucial!) difference between this commit and the previous
commits is that we now properly check the SuppressUserConversions flag
before attempting to perform a second user-defined conversion in
reference binding, breaking the infinite recursion chain of
user-defined conversions.

Rvalue references should be working a bit better now.

llvm-svn: 124121
2011-01-24 16:14:37 +00:00
..
basic.cpp A CXXExprWithTemporaries expression is an lvalue if its subexpression 2009-12-19 07:07:47 +00:00
p1.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
p3.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
p5-0x.cpp Re-instate r123977/r123978, my updates of the reference-binding 2011-01-24 16:14:37 +00:00
p5-cxx0x-no-extra-copy.cpp PR7245: Make binding a reference to a temporary without a usable copy 2010-06-07 15:58:05 +00:00
p5-cxx03-extra-copy.cpp When performing initialization of a copy of a temporary object, use 2010-11-12 03:34:06 +00:00
p5-examples.cpp Calculate the value kind of an expression when it's created and 2010-11-18 06:31:45 +00:00
p5-var.cpp In Sema's TryRefInitWithConversionFunction, suppress user conversions for the overload candidates. 2010-10-05 03:05:30 +00:00
p5.cpp During referencing binding, only consider conversion functions for 2010-04-13 15:07:45 +00:00