Skip to content

SageInterface::buildFunctionPrototype

Build a nondefining declaration from an exact function definition whose structural and semantic scopes permit a prototype at the same source location. In particular, out‐of‐class member definitions are rejected: their existing in‐class declaration is the only legal prototype. Malformed or unsupported inputs are hard errors; this function never returns null.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
SgFunctionDeclaration*
buildFunctionPrototype(SgFunctionDeclaration* functionDeclaration);

Return Value

This class represents the concept of a function declaration statement.

Parameters

Name

Description

functionDeclaration

This class represents the concept of a function declaration statement.

Created with MrDocs