Invert order, because Dtor_Base calls Dtor_complete.

This commit is contained in:
Vassil Vassilev 2014-03-10 16:17:58 +01:00 committed by Axel Naumann
parent f6f4c707d4
commit 12f47878bc

View File

@ -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;