aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaInit.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-09-07 22:23:31 +0000
committerAnders Carlsson <andersca@mac.com>2009-09-07 22:23:31 +0000
commitf47511ab0575b8c4752e33cdc4b82a84dcc4d263 (patch)
tree96cf09f203d1804db383b37b5c7ff65e4a0a079e /lib/Sema/SemaInit.cpp
parentd851b37a331a7bc0047922ea9244aff85470987e (diff)
BuildCXXConstructExpr now takes a MultiExprArg.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81160 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaInit.cpp')
-rw-r--r--lib/Sema/SemaInit.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Sema/SemaInit.cpp b/lib/Sema/SemaInit.cpp
index 936d996ea4..877efc31b9 100644
--- a/lib/Sema/SemaInit.cpp
+++ b/lib/Sema/SemaInit.cpp
@@ -182,7 +182,8 @@ bool Sema::CheckInitializerTypes(Expr *&Init, QualType &DeclType,
OwningExprResult InitResult =
BuildCXXConstructExpr(/*FIXME:ConstructLoc*/SourceLocation(),
- DeclType, Constructor, &Init, 1);
+ DeclType, Constructor,
+ MultiExprArg(*this, (void**)&Init, 1));
if (InitResult.isInvalid())
return true;