Skip to content

SageInterface::insertStatementAfterLastDeclaration

insertStatementAfterLastDeclaration overloads

Synopses

Declared in <SageIII/sageInterface/sageInterface.h>

Insert a list of statements after the last declaration within a scope. The statement will be prepended to the scope if there is no declaration statement found

[[visibility]]
void
insertStatementAfterLastDeclaration(
    std::vector<SgStatement*> stmt_list,
    SgScopeStatement* scope);

Insert a statement after the last declaration within a scope. The statement will be prepended to the scope if there is no declaration statement found

Created with MrDocs