AstAttributeMechanism::~AstAttributeMechanism¶
Destructor.
Synopsis¶
Declared in <src/midend/astProcessing/AstAttributeMechanism.h>
~AstAttributeMechanism(); Description¶
Destroying the attribute container should cause unused attributes to be destroyed. If an attribute implements the AstAttribute::CONTAINER_OWNERSHIP policy then the container explicitly deletes the attribute, otherwise it is up to the attribute class's designer to implement a deletion policy that prevents leaks.
Created with MrDocs