File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1736,8 +1736,8 @@ void ItaniumVTableBuilder::LayoutPrimaryAndSecondaryVTables(
17361736 const CXXMethodDecl *MD = I.first ;
17371737 const MethodInfo &MI = I.second ;
17381738 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) {
1739- MethodVTableIndices[GlobalDecl (DD, Dtor_Complete)] =
1740- MI.VTableIndex - AddressPoint;
1739+ MethodVTableIndices[GlobalDecl (DD, Dtor_Complete)]
1740+ = MI.VTableIndex - AddressPoint;
17411741 MethodVTableIndices[GlobalDecl (DD, Dtor_Deleting)]
17421742 = MI.VTableIndex + 1 - AddressPoint;
17431743 } else {
Original file line number Diff line number Diff line change @@ -1678,6 +1678,7 @@ namespace {
16781678 return CGF.EmitScalarExpr (ThisArg);
16791679 return CGF.LoadCXXThis ();
16801680 }
1681+
16811682 // / Call the operator delete associated with the current destructor.
16821683 struct CallDtorDelete final : EHScopeStack::Cleanup {
16831684 CallDtorDelete () {}
You can’t perform that action at this time.
0 commit comments