Namespaces | Functions

/data/home/doemer/tmp/risc/risc_v0.1.0/src/tools/misc.h File Reference

#include "rose.h"
#include <string>
Include dependency graph for misc.h:
This graph shows which files directly or indirectly include this file:

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.
 All Classes Namespaces Files Functions Variables Typedefs