Skip to content

findRootFunc

Returns the function definition containing the specified statement.

Synopsis

Declared in <SageIII/manglingSupport.h>

SgFunctionDefinition const*
findRootFunc(SgScopeStatement const* scope);

Return Value

the function definition containing the specified statement.

Parameters

Name

Description

scope

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

Created with MrDocs