diff options
author | Anders Carlsson <andersca@mac.com> | 2009-05-30 23:23:33 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-05-30 23:23:33 +0000 |
commit | b58d017f2b9eeed33f2ab3ede968b89cf5296bf2 (patch) | |
tree | 7001b9fe49bc4197b0c286af6546b9749e384e23 /lib/CodeGen/CGCXX.cpp | |
parent | 75bbb97f6e413633f2537e42f90547ccac559fde (diff) |
More temporary support.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72648 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCXX.cpp')
-rw-r--r-- | lib/CodeGen/CGCXX.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/CodeGen/CGCXX.cpp b/lib/CodeGen/CGCXX.cpp index 6ab59e11b6..4b4ed12abb 100644 --- a/lib/CodeGen/CGCXX.cpp +++ b/lib/CodeGen/CGCXX.cpp @@ -189,6 +189,17 @@ CodeGenFunction::EmitCXXConstructExpr(llvm::Value *Dest, E->arg_begin(), E->arg_end()); } +RValue +CodeGenFunction::EmitCXXExprWithTemporaries(const CXXExprWithTemporaries *E, + llvm::Value *AggLoc, + bool isAggLocVolatile) { + RValue RV = EmitAnyExpr(E->getSubExpr(), AggLoc, isAggLocVolatile); + + // FIXME: Handle the temporaries. + + return RV; +} + static bool canGenerateCXXstructor(const CXXRecordDecl *RD, ASTContext &Context) { // The class has base classes - we don't support that right now. |