SageBuilder::buildFunctionRefExp
buildFunctionRefExp overloads
Synopses
Declared in <SageIII/sageInterface/sageBuilder.h>
Build SgFunctionRefExp based on a function's symbol.
[[visibility]]
SgFunctionRefExp*
buildFunctionRefExp(SgFunctionSymbol* sym);
Build SgFunctionRefExp based on a function's declaration.
[[visibility]]
SgFunctionRefExp*
buildFunctionRefExp(SgFunctionDeclaration const* func_decl);
Build SgFunctionRefExp based on a C function's name. It will lookup symbol table internally starting from scope and return the first matching function.
[[visibility]]
SgFunctionRefExp*
buildFunctionRefExp(
SgName const& name,
SgScopeStatement* scope = NULL);
[[visibility]]
SgFunctionRefExp*
buildFunctionRefExp(
char const* name,
SgScopeStatement* scope = NULL);
Build SgFunctionRefExp based on a C++ function's name and function type. It will lookup symbol table internally starting from scope. A hidden prototype will be created internally to introduce a new function symbol if the function symbol cannot be found.
[[visibility]]
SgFunctionRefExp*
buildFunctionRefExp(
SgName const& name,
SgType const* func_type,
SgScopeStatement* scope = NULL);
[[visibility]]
SgFunctionRefExp*
buildFunctionRefExp(
char const* name,
SgType const* func_type,
SgScopeStatement* scope = NULL);
Created with MrDocs