SageInterface::generateUniqueVariableName
Generate a name like temp# that is unique in the current scope and any parent and children scopes. # is a unique integer counter.
Synopsis
Declared in <SageIII/sageInterface/sageInterface.h>
std::string
generateUniqueVariableName(
SgScopeStatement* scope,
std::string baseName = "temp");
Parameters
Name |
Description |
baseName |
the word to be included in the variable names. |
scope |
This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.). |
Created with MrDocs