Fix instantiate-function-1.cpp.

llvm-svn: 71988
This commit is contained in:
Anders Carlsson 2009-05-17 19:43:12 +00:00
parent 1c3da3a94b
commit 0e70d84e29
1 changed files with 0 additions and 1 deletions

View File

@ -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,