diff options
author | Anders Carlsson <andersca@mac.com> | 2009-05-17 19:43:12 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-05-17 19:43:12 +0000 |
commit | bde200858679c58ca1d7acdc4a75de3bef210b20 (patch) | |
tree | 77a551635ff2618e6a47a4e4382dfbd6175e5f1c /lib/Sema/SemaExprCXX.cpp | |
parent | df3b2089692dae0ef00b79e9240b2ccf9b36ff94 (diff) |
Fix instantiate-function-1.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71988 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExprCXX.cpp')
-rw-r--r-- | lib/Sema/SemaExprCXX.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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, |