Skip to content

SageInterface::wrapFunction

see wrapFunction for details

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

template<class NameGen>
std::pair<SgStatement*, SgInitializedName*>
wrapFunction(
    SgFunctionDeclaration& definingDeclaration,
    NameGen nameGen);

Return Value

Struct holding two objects of arbitrary type.

Template Parameters

Name

Description

NameGen

functor that generates a new name based on the old name. interface: SgName nameGen(const SgName&)

Parameters

Name

Description

nameGen

name generator

definingDeclaration

This class represents the concept of a function declaration statement.

Created with MrDocs