Skip to content

VariableRenaming::UniqueNameTraversal

Class to traverse the AST and assign unique names to every varRef.

Synopsis

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

Base Classes

Name

Description

AstBottomUpProcessing<VariableRenaming::VarRefSynthAttr>

Attribute evaluator for synthesized attributes.

Member Functions

Name

Description

UniqueNameTraversal [constructor]

Constructor

evaluateSynthesizedAttribute [virtual]

Called to evaluate the synthesized attribute on every node.

Private Member Functions

Name

Description

resolveTemporaryInitNames

Finds initialized names that are "fake" (refer to p_prev_decl_item in the SgInitializedName docs) and replaces them with the true declaration.

Private Data Members

Name

Description

allInitNames

All the initialized names in the project.

varRename

Created with MrDocs