forked from OSchip/llvm-project
Add a virtual destructor to the base of another class hierarchy with virtual
methods. llvm-svn: 111804
This commit is contained in:
parent
191c4f73b2
commit
76c0cb493f
|
@ -588,6 +588,8 @@ protected:
|
|||
NonVirtualSize(0), NonVirtualAlignment(8), PrimaryBase(0),
|
||||
PrimaryBaseIsVirtual(false), FirstNearlyEmptyVBase(0) { }
|
||||
|
||||
virtual ~RecordLayoutBuilder() { }
|
||||
|
||||
void Layout(const RecordDecl *D);
|
||||
void Layout(const CXXRecordDecl *D);
|
||||
void Layout(const ObjCInterfaceDecl *D);
|
||||
|
|
Loading…
Reference in New Issue