diff options
author | Anders Carlsson <andersca@mac.com> | 2008-08-30 19:51:14 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2008-08-30 19:51:14 +0000 |
commit | 2e744e8aa69410c573b08c0c27616f00b05bf198 (patch) | |
tree | 6e7332366a3808437e6e391d99d43546d67537a4 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | d89ba7d058c00f90fef99329f69ab18f7dcaaea3 (diff) | |
download | bcm5719-llvm-2e744e8aa69410c573b08c0c27616f00b05bf198.tar.gz bcm5719-llvm-2e744e8aa69410c573b08c0c27616f00b05bf198.zip |
Stub out CodeGenFunction::EmitObjCForCollectionStmt.
Add CodeGenFunction::EmitMemSetToZero and make AggExprEmitter::EmitAggregateClear use it.
llvm-svn: 55573
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index c8421e609a5..e43b2d39614 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -193,6 +193,9 @@ public: unsigned GetIDForAddrOfLabel(const LabelStmt *L); + /// EmitMemSetToZero - Generate code to memset a value of the given type to 0; + void EmitMemSetToZero(llvm::Value *DestPtr, QualType Ty); + //===--------------------------------------------------------------------===// // Declaration Emission //===--------------------------------------------------------------------===// @@ -230,6 +233,8 @@ public: void EmitCaseStmtRange(const CaseStmt &S); void EmitAsmStmt(const AsmStmt &S); + void EmitObjCForCollectionStmt(const ObjCForCollectionStmt &S); + //===--------------------------------------------------------------------===// // LValue Expression Emission //===--------------------------------------------------------------------===// |