#include "rose.h"
#include <string>
Go to the source code of this file.
Namespaces | |
namespace | risc |
namespace | risc::tools |
Functions | |
bool | risc::tools::is_data_structure (SgType *type) |
This function checks if the passed type represents a data structure. | |
bool | risc::tools::is_builtin_type (SgType *type) |
This function checks if the passed type represents a C++ builtin type. | |
bool | risc::tools::class_types_are_identical (SgClassDefinition *cd1, SgClassDefinition *cd2) |
Compares two classes. | |
bool | risc::tools::is_func_name (const SgFunctionDeclaration *function, const std::string &name) |
Compares the function name with the given string. | |
void | risc::tools::print_indented (std::string s, unsigned indent) |
Prints a string with indention. | |
SgClassDefinition * | risc::tools::class_definition_of_variable (SgVariableDeclaration *var_decl) |
Determines the class defintion of varialbe It is expected that the type is SgClassType. |