diff options
| author | Anders Carlsson <andersca@mac.com> | 2009-05-31 01:40:14 +0000 |
|---|---|---|
| committer | Anders Carlsson <andersca@mac.com> | 2009-05-31 01:40:14 +0000 |
| commit | 4a7b49b56a6b886cfc1aee116b3199201307d8e7 (patch) | |
| tree | f29a49f094820306e720e3baa07dd8b0a7f0e70b /clang/lib/CodeGen/CGExprScalar.cpp | |
| parent | 8eb93e72f7402ec7eb5787f7a91123eac4d06466 (diff) | |
| download | bcm5719-llvm-4a7b49b56a6b886cfc1aee116b3199201307d8e7.tar.gz bcm5719-llvm-4a7b49b56a6b886cfc1aee116b3199201307d8e7.zip | |
Add a new function for emitting new functions.
llvm-svn: 72656
Diffstat (limited to 'clang/lib/CodeGen/CGExprScalar.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CGExprScalar.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGExprScalar.cpp b/clang/lib/CodeGen/CGExprScalar.cpp index e4d3ff5a2e3..950e9e55095 100644 --- a/clang/lib/CodeGen/CGExprScalar.cpp +++ b/clang/lib/CodeGen/CGExprScalar.cpp @@ -285,6 +285,9 @@ public: Value *VisitCXXExprWithTemporaries(CXXExprWithTemporaries *E) { return CGF.EmitCXXExprWithTemporaries(E).getScalarVal(); } + Value *VisitCXXNewExpr(const CXXNewExpr *E) { + return CGF.EmitCXXNewExpr(E); + } // Binary Operators. Value *EmitMul(const BinOpInfo &Ops) { |

