9#include "sage3basic.hhh"
13namespace Rose {
namespace AST {
28ROSE_DLL_API
void load(
SgProject * project, std::list<std::string>
const & filepaths);
This class represents a source project, with a list of SgFile objects and global information about th...
ROSE_DLL_API void free()
Delete all memory allocated by ROSE.
ROSE_DLL_API void share(SgProject *project)
Eliminates duplicated nodes from the AST.
ROSE_DLL_API void link(SgProject *project)
Links declarations from multiple translation units.
ROSE_DLL_API void load(SgProject *project, std::list< std::string > const &filepaths)
Load ASTs that have been saved to files.
ROSE_DLL_API void prune(SgProject *project)
Removes nodes that are not reachable from the project node.
ROSE_DLL_API void clear()
Empties the memory pool of all nodes.
ROSE_DLL_API void merge(SgProject *project)
Performs sharing of AST nodes followed by linking accross translation units.