Function getLocalScopeNum#
Defined in File manglingSupport.h
Function Documentation#
-
size_t getLocalScopeNum(const SgFunctionDefinition *func_def, const SgScopeStatement *target)#
Returns a unique positive integer ID to an SgScopeStatement within a function definition.
This routine computes a preorder numbering of the SgScopeStatements in the subtree rooted at ‘func_def’, and returns the number assigned to the ‘target’ scope statement, or 0 if the target could not be found in ‘func_def’.