summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaExpr.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2013-05-09 23:32:58 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2013-05-09 23:32:58 +0000
commitd3b75560aa07b18e801bd8ef01dad09a5bab5a07 (patch)
treea1d27d0f1b6bfdc56c91785c7e067b339a18e1d4 /clang/lib/Sema/SemaExpr.cpp
parentffcf4ba947266a50a790a2ebbe3ceff0827b4d05 (diff)
downloadbcm5719-llvm-d3b75560aa07b18e801bd8ef01dad09a5bab5a07.tar.gz
bcm5719-llvm-d3b75560aa07b18e801bd8ef01dad09a5bab5a07.zip
ArrayRef'ize Sema::BuildCallToObjectOfClassType
llvm-svn: 181562
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
-rw-r--r--clang/lib/Sema/SemaExpr.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp
index 8d76f60d395..031a631f6c0 100644
--- a/clang/lib/Sema/SemaExpr.cpp
+++ b/clang/lib/Sema/SemaExpr.cpp
@@ -4191,8 +4191,7 @@ Sema::ActOnCallExpr(Scope *S, Expr *Fn, SourceLocation LParenLoc,
// Determine whether this is a call to an object (C++ [over.call.object]).
if (Fn->getType()->isRecordType())
return Owned(BuildCallToObjectOfClassType(S, Fn, LParenLoc,
- ArgExprs.data(),
- ArgExprs.size(), RParenLoc));
+ ArgExprs, RParenLoc));
if (Fn->getType() == Context.UnknownAnyTy) {
ExprResult result = rebuildUnknownAnyFunction(*this, Fn);
OpenPOWER on IntegriCloud