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).
Created with MrDocs