diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2009-03-29 22:46:24 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2009-03-29 22:46:24 +0000 |
commit | 85002394ca152cc794d2aecd31ed0ec9586838d6 (patch) | |
tree | 9d5e5b67c674a0e6cf278232294746954a0b2969 /lib/Sema/SemaOverload.cpp | |
parent | 478edc295efc560627053e2320bedd2f696ae028 (diff) |
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
Diffstat (limited to 'lib/Sema/SemaOverload.cpp')
-rw-r--r-- | lib/Sema/SemaOverload.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Sema/SemaOverload.cpp b/lib/Sema/SemaOverload.cpp index 0c45ee77ba..3afd454f1b 100644 --- a/lib/Sema/SemaOverload.cpp +++ b/lib/Sema/SemaOverload.cpp @@ -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; } |