00001 #ifndef VARIABLE_HELPER_H_INCLUDED_
00002 #define VARIABLE_HELPER_H_INCLUDED_
00003
00004 #include "rose.h"
00005
00006 namespace risc {
00007
00008 namespace tools {
00009
00015 bool
00016 is_global_variable(SgVariableSymbol *var_symbol);
00017
00023 bool
00024 is_local_variable(SgVariableSymbol *var_symbol);
00025
00031 bool
00032 is_member_variable(SgVariableSymbol *var_symbol);
00033
00039 bool
00040 is_static_variable(SgVariableSymbol *var_symbol);
00041
00047 bool is_namespace_variable(SgVariableSymbol *var_symbol);
00048
00054 bool is_function_parameter_variable(SgVariableSymbol *var_symbol);
00055
00062 bool is_member_of(SgVariableSymbol *is, SgSymbol *of);
00063
00064 };
00065
00066 };
00067
00068 #endif
00069
00070