summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-08-07 23:51:33 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-08-07 23:51:33 +0000
commitb68df0bc422827ab6b6b31865529014f5eff6ac3 (patch)
tree31bc722763ddb1f2376d7d4ffc0fb0800c8b8e53 /clang/lib/CodeGen/CodeGenFunction.h
parent11595b20fc6b487f504dd974b28f29c65c56de86 (diff)
downloadbcm5719-llvm-b68df0bc422827ab6b6b31865529014f5eff6ac3.tar.gz
bcm5719-llvm-b68df0bc422827ab6b6b31865529014f5eff6ac3.zip
Synthesized copy constructor now generates code for
copying non-virtual base classes which have non-trivial constructor. Work in progress. llvm-svn: 78436
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index b512d3670ba..383f844e932 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -369,7 +369,8 @@ public:
void EmitCtorPrologue(const CXXConstructorDecl *CD);
- void EmitCopyCtorBody(const CXXConstructorDecl *CD);
+ void EmitCopyCtorBody(const CXXConstructorDecl *CD,
+ const FunctionArgList &Args);
/// EmitDtorEpilogue - Emit all code that comes at the end of class's
/// destructor. This is to call destructors on members and base classes
@@ -552,6 +553,10 @@ public:
const CXXRecordDecl *ClassDecl,
const CXXRecordDecl *BaseClassDecl);
+ void EmitClassMemberwiseCopy(llvm::Value *DestValue, llvm::Value *SrcValue,
+ const CXXRecordDecl *ClassDecl,
+ const CXXRecordDecl *BaseClassDecl);
+
void EmitCXXConstructorCall(const CXXConstructorDecl *D, CXXCtorType Type,
llvm::Value *This,
CallExpr::const_arg_iterator ArgBeg,
OpenPOWER on IntegriCloud