Skip to content

SageInterface::updateDefiningNondefiningLinks

Update defining and nondefining links due to a newly introduced function declaration. Should be used after inserting the function into a scope. This function not only set the defining and nondefining links of the newly introduced function declaration inside a scope, but also update other same function declarations' links accordingly if there are any. Assumption: The function has already inserted/appended/prepended into the scope before calling this function.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
void
updateDefiningNondefiningLinks(
    SgFunctionDeclaration* func,
    SgScopeStatement* scope);

Parameters

Name

Description

func

This class represents the concept of a function declaration statement.

scope

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

Created with MrDocs