Skip to content

SageInterface::resetScopeNumbers

Assigns unique numbers to each SgScopeStatement of a function.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

void
resetScopeNumbers(SgFunctionDefinition* functionDeclaration);

Description

This is used to provide unique names for variables and types defined is different nested scopes of a function (used in mangled name generation).

Parameters

Name

Description

functionDeclaration

This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.).

Created with MrDocs