Skip to content

ASTtools::findFirstFuncDefScope

Search for the first surrounding scope that may contain a function def.

Synopsis

Declared in <src/midend/programTransformation/astOutlining/ASTtools.hh>

[[visibility]]
SgScopeStatement const*
findFirstFuncDefScope(SgStatement const* s);

Return Value

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

Parameters

Name

Description

s

This class represents the notion of a statement.

Created with MrDocs