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 an explicit lexical scope, handling side effects as appropriate.

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

Created with MrDocs