SgNodeHelper::uniqueLongVariableName
Creates a long unique variable name for a given node of type SgVariableDeclaration or SgVarRefExp
Synopsis
Declared in <src/midend/abstractLayer/SgNodeHelper.h>
std::string
uniqueLongVariableName(SgNode* node);
Description
If node is not one of those two types an exception is thrown The long variable name consists _functionName_scopeLevel_varName In case of global scope functionName is empty, giving a string: __scopeLevel_varName Note: this function only considers C‐functions. Classes are recognized.
Parameters
Name |
Description |
node |
This class represents the base class for all IR nodes within Sage III. |
Created with MrDocs