Go to the documentation of this file.00001 #ifndef MISC_H_INCLUDED_
00002 #define MISC_H_INCLUDED_
00003
00004 #include "rose.h"
00005 #include <string>
00006
00007 namespace risc
00008 {
00009
00010 namespace tools
00011 {
00012
00019 bool is_data_structure(SgType* type);
00020
00027 bool is_builtin_type(SgType* type);
00028
00029
00036 bool class_types_are_identical(SgClassDefinition* cd1, SgClassDefinition* cd2);
00037
00044 bool is_func_name(const SgFunctionDeclaration* function, const std::string& name);
00045
00051 void print_indented(std::string s, unsigned indent);
00052
00059 SgClassDefinition* class_definition_of_variable(SgVariableDeclaration* var_decl);
00060
00061 };
00062
00063 };
00064
00065 #endif
00066
00067