SgStatement::remove_statement¶
This function removes the target statement from the AST.
Synopsis¶
Declared in <src/frontend/SageIII/Cxx_Grammar.h> (not stored in Git)
void
remove_statement(SgStatement* target); Description¶
This function handles the removal of the target statement from the AST. Any comments or C preprocessor directives associated with the statement are also removed. This is a low level primitive for higher level functions (in the higher level interfaces) which take care to preserve such attributes.
Return Value¶
Function returns void.
Parameters¶
| Name | Description |
|---|---|
| target | - location of the statement to be removed. |
Created with MrDocs