Skip to content

SageBuilder::buildFunctionRefExp

Build SgFunctionRefExp based on a C function's name. It will lookup symbol table internally starting from scope and return the first matching function.

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility]]
SgFunctionRefExp*
buildFunctionRefExp(
    SgName const& name,
    SgScopeStatement* scope = NULL);

Return Value

This class represents the function being called and must be assembled in the

Parameters

Name

Description

name

This class represents strings within the IR nodes.

scope

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

Created with MrDocs