Skip to content

SageInterface::getEnclosingProcedure

Find the function definition

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
SgFunctionDefinition*
getEnclosingProcedure(
    SgNode* n,
    bool const includingSelf = false);

Return Value

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

Parameters

Name

Description

n

This class represents the base class for all IR nodes within Sage III.

Created with MrDocs