aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2008-08-30 19:51:14 +0000
committerAnders Carlsson <andersca@mac.com>2008-08-30 19:51:14 +0000
commit3d8400d9a61aa4b63ff35e5cede405b32a41425e (patch)
treeb342d74378b17f4cba0a86ad7875f13aa624586f /lib/CodeGen/CodeGenFunction.h
parentbd4c1ada2e8668f43a865dc2c662085cf61940c4 (diff)
Stub out CodeGenFunction::EmitObjCForCollectionStmt.
Add CodeGenFunction::EmitMemSetToZero and make AggExprEmitter::EmitAggregateClear use it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55573 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index c8421e609a..e43b2d3961 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/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
//===--------------------------------------------------------------------===//