Skip to content

SageInterface::deepDelete

Deep delete a sub AST tree. It uses postorder traversal to delete each child node. Users must take care of any dangling pointers, symbols or types that result. This is identical to deleteAST()

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
void
deepDelete(SgNode* root);

Parameters

Name

Description

root

This class represents the base class for all IR nodes within Sage III.

Created with MrDocs