summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-08-21 22:34:55 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-08-21 22:34:55 +0000
commit8adc9734832677dc5af746f3033ab0b1c0e41aa9 (patch)
treec7b9a63cf2d1f055b6322858afa595de8530b3fb /clang/lib/CodeGen/CodeGenFunction.h
parent14536f6ee01a9c0381d1e905c43a8b714ddfb030 (diff)
downloadbcm5719-llvm-8adc9734832677dc5af746f3033ab0b1c0e41aa9.tar.gz
bcm5719-llvm-8adc9734832677dc5af746f3033ab0b1c0e41aa9.zip
Patch to ir-gen copy assigning array members when synthesizing
a copy assignment operator function. llvm-svn: 79681
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 583bfe3bfdb..686c1a2c526 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -574,6 +574,12 @@ public:
const CXXRecordDecl *BaseClassDecl,
QualType Ty);
+ void EmitClassAggrCopyAssignment(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,
OpenPOWER on IntegriCloud