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("default")]]
SgFunctionDeclaration*
buildFunctionPrototype(SgFunctionDeclaration* functionDeclaration);

Created with MrDocs