Skip to content

VariableRenaming::ChildUses

Attribute that describes the variables used by a given expression.

Synopsis

Declared in <src/midend/programAnalysis/variableRenaming/VariableRenaming.h>

class ChildUses;

Member Functions

Name Description
ChildUses
ChildUses(); [constructor]
Constructors
getCurrentVar
SgVarRefExp* getCurrentVar() const;
getUses
std::vector<SgNode*>& getUses();
Get the uses for this node and below.
setUses
void setUses(std::vector<SgNode*> const& newUses);
Set the uses for this node and below.

Private Data Members

Name Description
currentVar An assignment to the current expression in the AST would define this variable
uses Stores all the varRefs that are used in the current subTree.

Created with MrDocs