diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-12-08 06:46:18 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-12-08 06:46:18 +0000 |
commit | 77a259c6dbf582949af8a243b472c0c7faa373a6 (patch) | |
tree | e0e4b3ac854d9934aac71b20bd9ea21092129208 /lib/CodeGen/CodeGenFunction.h | |
parent | 7ac1c9ef0bd250da82ddf3f5213182278e351753 (diff) |
Fix for PR5707: make sure implicit copy constructors initialize the vtable
pointer.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90840 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index ead2b5df7d..854eb53ec2 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -468,6 +468,8 @@ public: void EmitCtorPrologue(const CXXConstructorDecl *CD, CXXCtorType Type); + void InitializeVtablePtrs(const CXXRecordDecl *ClassDecl); + void SynthesizeCXXCopyConstructor(const CXXConstructorDecl *Ctor, CXXCtorType Type, llvm::Function *Fn, |