diff --git a/lib/Sema/SemaExprCXX.cpp b/lib/Sema/SemaExprCXX.cpp index 142f713254..109247f977 100644 --- a/lib/Sema/SemaExprCXX.cpp +++ b/lib/Sema/SemaExprCXX.cpp @@ -167,7 +167,6 @@ Sema::ActOnCXXTypeConstructExpr(SourceRange TypeRange, TypeTy *TypeRep, // FIXME: Is this correct (I don't think so). Instead, we should have an // CXXUnresolvedTemporaryObjectExpr node for this. CXXTempVarDecl *Temp = CXXTempVarDecl::Create(Context, CurContext, Ty); - ExprTemporaries.push_back(Temp); return Owned(new (Context) CXXTemporaryObjectExpr(Context, Temp, 0, Ty, TyBeginLoc,