Hopefully fix the rval regressions. Thanks to Chris for pointing out that valgrind complains.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68021 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaOverload.cpp b/lib/Sema/SemaOverload.cpp
index 0c45ee7..3afd454 100644
--- a/lib/Sema/SemaOverload.cpp
+++ b/lib/Sema/SemaOverload.cpp
@@ -116,6 +116,7 @@
Deprecated = false;
ReferenceBinding = false;
DirectBinding = false;
+ RRefBinding = false;
CopyConstructor = 0;
}
@@ -1945,6 +1946,7 @@
ICS.Standard.ToTypePtr = ImplicitParamType.getAsOpaquePtr();
ICS.Standard.ReferenceBinding = true;
ICS.Standard.DirectBinding = true;
+ ICS.Standard.RRefBinding = false;
return ICS;
}