SageInterface::clearScopeNumbers
Clears the cache of scope,integer pairs for the input function.
Synopsis
Declared in <SageIII/sageInterface/sageInterface.h>
void
clearScopeNumbers(SgFunctionDefinition* functionDefinition);
Description
This is used to clear the cache of computed unique labels for scopes in a function. This function should be called after any transformation on a function that might effect the allocation of scopes and cause the existing unique numbers to be incorrect. This is part of support to provide unique names for variables and types defined is different nested scopes of a function (used in mangled name generation).
Parameters
Name |
Description |
functionDefinition |
This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.). |
Created with MrDocs