]> granicus.if.org Git - clang/commitdiff
Hopefully fix the rval regressions. Thanks to Chris for pointing out that valgrind...
authorSebastian Redl <sebastian.redl@getdesigned.at>
Sun, 29 Mar 2009 22:46:24 +0000 (22:46 +0000)
committerSebastian Redl <sebastian.redl@getdesigned.at>
Sun, 29 Mar 2009 22:46:24 +0000 (22:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68021 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaOverload.cpp

index 0c45ee77bab26da0a83f96431d92aeca092dfad3..3afd454f1ba0a7bf1536a46c00074e7a23ff26e5 100644 (file)
@@ -116,6 +116,7 @@ void StandardConversionSequence::setAsIdentityConversion() {
   Deprecated = false;
   ReferenceBinding = false;
   DirectBinding = false;
+  RRefBinding = false;
   CopyConstructor = 0;
 }
 
@@ -1945,6 +1946,7 @@ Sema::TryObjectArgumentInitialization(Expr *From, CXXMethodDecl *Method) {
   ICS.Standard.ToTypePtr = ImplicitParamType.getAsOpaquePtr();
   ICS.Standard.ReferenceBinding = true;
   ICS.Standard.DirectBinding = true;
+  ICS.Standard.RRefBinding = false;
   return ICS;
 }