SageInterface::insertStatement¶
Insert a statement before or after the target statement within the target's scope. Move around preprocessing info automatically
Synopsis¶
Declared in <SageIII/sageInterface/sageInterface.h>
[[visibility("default")]]
void
insertStatement(
SgStatement* targetStmt,
SgStatement* newStmt,
bool insertBefore = true,
bool autoMovePreprocessingInfo = true); Parameters¶
| Name | Description |
|---|---|
| targetStmt | This class represents the notion of a statement. |
| newStmt | This class represents the notion of a statement. |
Created with MrDocs