Function SgNodeHelper::uniqueLongVariableName#
Defined in File SgNodeHelper.h
Function Documentation#
-
std::string SgNodeHelper::uniqueLongVariableName(SgNode *node)#
Creates a long unique variable name for a given node of type SgVariableDeclaration or SgVarRefExp.
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.