SageInterface::removeStatement
Remove a statement from its attach point of the AST. Automatically keep its associated preprocessing information at the original place after the removal. The statement is still in memory and it is up to the users to decide if the removed one will be inserted somewhere else or released from memory (deleteAST()).
Synopsis
Declared in <SageIII/sageInterface/sageInterface.h>
[[visibility]]
void
removeStatement(
SgStatement* stmt,
bool autoRelocatePreprocessingInfo = true);
Parameters
Name |
Description |
stmt |
This class represents the notion of a statement. |
Created with MrDocs