/local/lecs/lecs/risc_v0.2.0/build/risc_v0.2.0/src/tools/variable_helper.h File Reference

#include "rose.h"
Include dependency graph for variable_helper.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_global_variable (SgVariableSymbol *var_symbol)
 This function return true if the given variable symbol is a global variable.
bool risc::tools::is_local_variable (SgVariableSymbol *var_symbol)
 This function return true if the given variable symbol is a local variable.
bool risc::tools::is_member_variable (SgVariableSymbol *var_symbol)
 This function return true if the given variable symbol is a member variable.
bool risc::tools::is_static_variable (SgVariableSymbol *var_symbol)
 This function return true if the given variable symbol is a static variable.
bool risc::tools::is_namespace_variable (SgVariableSymbol *var_symbol)
 This function return true if the given variable symbol is a namespace variable.
bool risc::tools::is_function_parameter_variable (SgVariableSymbol *var_symbol)
 This function return true if the given variable symbol is a function variable.
bool risc::tools::is_member_of (SgVariableSymbol *is, SgSymbol *of)
 This function returns true if a given variable symbol is defined 'in' another variable symobl. For instance 'class Foo { int i;}' 'i' is defined in 'Foo'.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 30 Sep 2015 by  doxygen 1.6.1