Skip to content

SageInterface::insertStatementListBefore

Insert a list of statements before a target statement

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
void
insertStatementListBefore(
    SgStatement* targetStmt,
    std::vector<SgStatement*> const& newStmts);

Parameters

Name

Description

targetStmt

This class represents the notion of a statement.

newStmts

A standard container which offers fixed time access to individual elements in any order.

Created with MrDocs