diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2012-02-19 16:03:09 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2012-02-19 16:03:09 +0000 |
commit | 972edf0534d8a50f87fac1d0ff34eb22f593df11 (patch) | |
tree | b0c119edcbbf2e81d8d9efb3027cc82671e28146 /lib/CodeGen/CodeGenFunction.h | |
parent | 924db71fc8f6076c532c8c2ae93acc7f477452c8 (diff) |
Make heap-allocation of std::initializer_list 'work'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150931 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 95420e5344..6327fa2225 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -1811,7 +1811,7 @@ public: llvm::Value* EmitCXXTypeidExpr(const CXXTypeidExpr *E); llvm::Value *EmitDynamicCast(llvm::Value *V, const CXXDynamicCastExpr *DCE); - void MaybeEmitStdInitializerListCleanup(LValue lvalue, const Expr *init); + void MaybeEmitStdInitializerListCleanup(llvm::Value *loc, const Expr *init); void EmitStdInitializerListCleanup(llvm::Value *loc, const InitListExpr *init); |