Skip to content

SgNodeHelper::getClosestParentFunctionDefinitionOfLocatedNode

schroder3 (2016‐07‐22): Returns the closest function definition that contains the given node

Synopsis

Declared in <src/midend/abstractLayer/SgNodeHelper.h>

SgFunctionDefinition*
getClosestParentFunctionDefinitionOfLocatedNode(SgLocatedNode* locatedNode);

Return Value

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

Parameters

Name

Description

locatedNode

This class represents the notion of an expression or statement which

Created with MrDocs