aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaInit.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-09-05 07:40:38 +0000
committerAnders Carlsson <andersca@mac.com>2009-09-05 07:40:38 +0000
commitec8e5ea799412a9d2aac4814c9c62cc32b3faad5 (patch)
tree2164ef76a1408b91d361f34a83b9ddc02171b8a8 /lib/Sema/SemaInit.cpp
parent77ca8f6c5e666ef873066b580bf1b7fabd41d4f5 (diff)
Pass the ConstructLoc to BuildCXXConstructExpr.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81068 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 fb75ff3cd6..936d996ea4 100644
--- a/lib/Sema/SemaInit.cpp
+++ b/lib/Sema/SemaInit.cpp
@@ -181,7 +181,8 @@ bool Sema::CheckInitializerTypes(Expr *&Init, QualType &DeclType,
return true;
OwningExprResult InitResult =
- BuildCXXConstructExpr(DeclType, Constructor, &Init, 1);
+ BuildCXXConstructExpr(/*FIXME:ConstructLoc*/SourceLocation(),
+ DeclType, Constructor, &Init, 1);
if (InitResult.isInvalid())
return true;