AstInterface::IsVarRef
Check whether exp is a variable reference; If yes, return type, name, scope, and global/local etc.
Synopsis
Declared in <src/midend/astUtil/astInterface/AstInterface.h>
static
bool
IsVarRef(
AstNodePtr const& exp,
AstNodeType* vartype = 0,
std::string* varname = 0,
AstNodePtr* scope = 0,
bool* defined_in_global = 0,
bool use_global_unique_name = false,
bool* has_ptr_deref = 0);
Created with MrDocs