Invert order, because Dtor_Base calls Dtor_complete.
This commit is contained in:
parent
f6f4c707d4
commit
12f47878bc
@ -850,10 +850,10 @@ namespace cling {
|
||||
// Dtor_Complete Complete object dtor.
|
||||
GlobalDecl GD(CXXDtor, Dtor_Deleting);
|
||||
MaybeRemoveDeclFromModule(GD);
|
||||
GD = GlobalDecl(CXXDtor, Dtor_Base);
|
||||
MaybeRemoveDeclFromModule(GD);
|
||||
GD = GlobalDecl(CXXDtor, Dtor_Complete);
|
||||
MaybeRemoveDeclFromModule(GD);
|
||||
GD = GlobalDecl(CXXDtor, Dtor_Base);
|
||||
MaybeRemoveDeclFromModule(GD);
|
||||
|
||||
bool Successful = VisitCXXMethodDecl(CXXDtor);
|
||||
return Successful;
|
||||
|
Loading…
x
Reference in New Issue
Block a user