ROSE  0.9.9.168
Public Member Functions | List of all members
ssa_unfiltered_cfg::ChildUses Class Reference

Description

Attribute that describes the variables used by a given expression.

Definition at line 16 of file defsAndUsesUnfilteredCfg.h.

#include <defsAndUsesUnfilteredCfg.h>

Public Member Functions

 ChildUses ()
 Create the attribute with no refs. More...
 
 ChildUses (SgVarRefExp *useNode, SgVarRefExp *var)
 
 ChildUses (const std::set< SgVarRefExp * > &useTree, SgVarRefExp *var=NULL)
 Create the attribute with the def and list of uses. More...
 
std::set< SgVarRefExp * > & getUses ()
 Get the uses for this node and below. More...
 
void setUses (const std::set< SgVarRefExp * > &newUses)
 Set the uses for this node and below. More...
 
SgVarRefExpgetCurrentVar () const
 

Constructor & Destructor Documentation

ssa_unfiltered_cfg::ChildUses::ChildUses ( )
inline

Create the attribute with no refs.

Definition at line 28 of file defsAndUsesUnfilteredCfg.h.

ssa_unfiltered_cfg::ChildUses::ChildUses ( const std::set< SgVarRefExp * > &  useTree,
SgVarRefExp var = NULL 
)
inline

Create the attribute with the def and list of uses.

Parameters
useTreeThe vector of uses to add, or an empty vector.

Definition at line 40 of file defsAndUsesUnfilteredCfg.h.

Member Function Documentation

std::set<SgVarRefExp*>& ssa_unfiltered_cfg::ChildUses::getUses ( )
inline

Get the uses for this node and below.

Returns
A constant reference to the use list.

Definition at line 50 of file defsAndUsesUnfilteredCfg.h.

void ssa_unfiltered_cfg::ChildUses::setUses ( const std::set< SgVarRefExp * > &  newUses)
inline

Set the uses for this node and below.

Parameters
newUsesA constant reference to the uses to copy to this node.

Definition at line 59 of file defsAndUsesUnfilteredCfg.h.


The documentation for this class was generated from the following file: