ROSE  0.11.83.1
AST/Utils.h
1 
2 #ifndef ROSE_AST_UTILS_H
3 #define ROSE_AST_UTILS_H
4 
5 #include <map>
6 
7 class SgNode;
8 
9 namespace Rose {
10 namespace AST {
11 
15 namespace Utils {
16 
17 using replacement_map_t = std::map<SgNode *, SgNode *>;
18 
20 void edgePointerReplacement(replacement_map_t const &);
21 
23 void edgePointerReplacement(SgNode * root, replacement_map_t const &);
24 
25 } } }
26 
27 #endif /* ROSE_AST_UTILS_H */
28 
Main namespace for the ROSE library.
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 ...
This class represents the base class for all IR nodes within Sage III.