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 |
|---|---|
ChildUsesChildUses(); [constructor] | Constructors |
getCurrentVarSgVarRefExp* getCurrentVar() const; | |
getUsesstd::vector<SgNode*>& getUses(); | Get the uses for this node and below. |
setUsesvoid 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