Skip to content

SageInterface::getProject

Get the current SgProject IR Node.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
SgProject*
getProject();

Description

The library should never have more than one project and it asserts such. If no project has been created yet then this function returns the null pointer.

Return Value

the current SgProject IR Node.

Created with MrDocs