diff options
author | Mike Stump <mrs@apple.com> | 2009-08-12 17:42:21 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-08-12 17:42:21 +0000 |
commit | cecfe61cd1a95fdfc2a9256e1ca23d1079a2305a (patch) | |
tree | 6e440506d9096683b666c516206522f5ca464ee6 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | de51b4ebf4cf448b4cd2668f936820732f441b55 (diff) | |
download | bcm5719-llvm-cecfe61cd1a95fdfc2a9256e1ca23d1079a2305a.tar.gz bcm5719-llvm-cecfe61cd1a95fdfc2a9256e1ca23d1079a2305a.zip |
Refine vtable building for the secondary vtables to exclude yet more
cases where a virtual base was already used as a primary base class.
WIP.
llvm-svn: 78820
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index ebb35ba9485..ece4f105dc2 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -363,8 +363,9 @@ public: const CXXRecordDecl *Class, llvm::Constant *rtti, std::vector<llvm::Constant *> &methods, - bool isPrimary = false, - bool ForVirtualBase = false); + bool isPrimary, + bool ForVirtualBase, + llvm::SmallSet<const CXXRecordDecl *, 32> &IndirectPrimary); llvm::Value *GenerateVtable(const CXXRecordDecl *RD); void EmitCtorPrologue(const CXXConstructorDecl *CD); |