summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaExprCXX.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-09-19 02:26:47 +0000
committerCraig Topper <craig.topper@gmail.com>2012-09-19 02:26:47 +0000
commite6706e40bb6927d0d1aecf33aef411ccfe888081 (patch)
tree25522158515ac2c112a56ef6b10fe6a5e289bb38 /clang/lib/Sema/SemaExprCXX.cpp
parent8f43c6f0d57b9b79699086a4c2e38dc0f89aaa40 (diff)
downloadbcm5719-llvm-e6706e40bb6927d0d1aecf33aef411ccfe888081.tar.gz
bcm5719-llvm-e6706e40bb6927d0d1aecf33aef411ccfe888081.zip
Remove Context argument from TemplateDeductionInfo constructor. It was no longer needed after the unused Context member was removed in r164104.
llvm-svn: 164196
Diffstat (limited to 'clang/lib/Sema/SemaExprCXX.cpp')
-rw-r--r--clang/lib/Sema/SemaExprCXX.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaExprCXX.cpp b/clang/lib/Sema/SemaExprCXX.cpp
index 907cb8d2ade..ca4702d17ef 100644
--- a/clang/lib/Sema/SemaExprCXX.cpp
+++ b/clang/lib/Sema/SemaExprCXX.cpp
@@ -1625,7 +1625,7 @@ bool Sema::FindAllocationFunctions(SourceLocation StartLoc, SourceRange Range,
= dyn_cast<FunctionTemplateDecl>((*D)->getUnderlyingDecl())) {
// Perform template argument deduction to try to match the
// expected function type.
- TemplateDeductionInfo Info(Context, StartLoc);
+ TemplateDeductionInfo Info(StartLoc);
if (DeduceTemplateArguments(FnTmpl, 0, ExpectedFunctionType, Fn, Info))
continue;
} else
OpenPOWER on IntegriCloud