diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-08-21 18:30:26 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-08-21 18:30:26 +0000 |
commit | 56263843847ab8ca261032b4401b926004b853e2 (patch) | |
tree | db404cfa49cd0fb691f2e4a88946b7268ff2001d /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 4ef7fb95309bc6356f055f6d053e8e78f78de5fc (diff) | |
download | bcm5719-llvm-56263843847ab8ca261032b4401b926004b853e2.tar.gz bcm5719-llvm-56263843847ab8ca261032b4401b926004b853e2.zip |
Patch to provide ir-gen support in copying array members
when synthesizing a copy constructor. Arrays's base element
may have a trivial or non-trivial copy constructor.
llvm-svn: 79653
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 71614c451ce..583bfe3bfdb 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -568,6 +568,12 @@ public: const CXXRecordDecl *ClassDecl, const CXXRecordDecl *BaseClassDecl); + void EmitClassAggrMemberwiseCopy(llvm::Value *DestValue, + llvm::Value *SrcValue, + const ArrayType *Array, + const CXXRecordDecl *BaseClassDecl, + QualType Ty); + void EmitClassMemberwiseCopy(llvm::Value *DestValue, llvm::Value *SrcValue, const CXXRecordDecl *ClassDecl, const CXXRecordDecl *BaseClassDecl, |