diff options
Diffstat (limited to 'lib/Sema/SemaDeclCXX.cpp')
-rw-r--r-- | lib/Sema/SemaDeclCXX.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Sema/SemaDeclCXX.cpp b/lib/Sema/SemaDeclCXX.cpp index 3ee40e842c..89acfd14d6 100644 --- a/lib/Sema/SemaDeclCXX.cpp +++ b/lib/Sema/SemaDeclCXX.cpp @@ -2899,8 +2899,8 @@ bool Sema::InitializeVarWithConstructor(VarDecl *VD, QualType DeclInitType, Expr **Exprs, unsigned NumExprs) { OwningExprResult TempResult = - BuildCXXConstructExpr(/*FIXME: ConstructLoc*/ SourceLocation(), - DeclInitType, Constructor, Exprs, NumExprs); + BuildCXXConstructExpr(VD->getLocation(), DeclInitType, Constructor, + Exprs, NumExprs); if (TempResult.isInvalid()) return true; |