diff options
author | John McCall <rjmccall@apple.com> | 2010-11-24 05:12:34 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-11-24 05:12:34 +0000 |
commit | 7eb0a9eb0cde8444b97f9c5b713d9be7a6f1e607 (patch) | |
tree | e828a6fb6060ac7711b5209210bfd31c15de71af /lib/Sema/SemaTemplateDeduction.cpp | |
parent | 834f9de3d3d76986d09f41725a70ba45a3e2aecd (diff) |
Switch a lot of call-sites over to using the new value-kind calculations.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120084 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaTemplateDeduction.cpp')
-rw-r--r-- | lib/Sema/SemaTemplateDeduction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaTemplateDeduction.cpp b/lib/Sema/SemaTemplateDeduction.cpp index 39996e315d..070c334f87 100644 --- a/lib/Sema/SemaTemplateDeduction.cpp +++ b/lib/Sema/SemaTemplateDeduction.cpp @@ -1757,7 +1757,7 @@ Sema::DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate, // type deduction. if (ParamRefType->isRValueReferenceType() && ParamRefType->getAs<TemplateTypeParmType>() && - Args[I]->isLvalue(Context) == Expr::LV_Valid) + Args[I]->isLValue()) ArgType = Context.getLValueReferenceType(ArgType); } else { // C++ [temp.deduct.call]p2: |