Skip to content

SageInterface::prependStatement

prependStatement overloads

Synopses

Declared in <SageIII/sageInterface/sageInterface.h>

Prepend a statement to the beginning of SgForInitStatement

[[visibility]]
void
prependStatement(
    SgStatement* stmt,
    SgForInitStatement* for_init_stmt);

Prepend a statement to the beginning of the current scope, handling side effects as appropriate

[[visibility]]
void
prependStatement(
    SgStatement* stmt,
    SgScopeStatement* scope = NULL);

Created with MrDocs