Skip to content

SageInterface::moveStatementsBetweenBlocks

Move statements in first block to the second block (preserves order and rebuilds the symbol table).

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
void
moveStatementsBetweenBlocks(
    SgBasicBlock* sourceBlock,
    SgBasicBlock* targetBlock);

Parameters

Name

Description

sourceBlock

This class represents the concept of a block (not a basic block from control flow analysis).

targetBlock

This class represents the concept of a block (not a basic block from control flow analysis).

Created with MrDocs