1#ifndef ROSE_AST_Utility_H
2#define ROSE_AST_Utility_H
17using replacement_map_t = std::map<SgNode *, SgNode *>;
This class represents the base class for all IR nodes within Sage III.
bool checkParentPointers(SgNode *root, std::ostream &out=std::cerr)
Check that all parent pointers in the specified subtree are correct.
void edgePointerReplacement(replacement_map_t const &)
For all nodes in the memory pool, it looks for the edges in the replacement map. If a match is found ...
void repairParentPointers(SgNode *root)
Set parent pointers based on child pointers in a subtree.