Displaying 1 result from an estimated 1 matches for "ilist_alloc_trait".
Did you mean:
ilist_alloc_traits
2018 Nov 27
2
GlobalVariable::eraseFromParent
I am confused by GlobalVariable::eraseFromParent's declaration:
/// This method unlinks 'this' from the containing module and deletes it.
void eraseFromParent();
In Globals.cpp the unlinking is done and SymbolTableListTraits cleans up
the symbol table but I don't see anything that actually deletes the
object. Is the comment misleading or am I missing something?