Skip to content

SageInterface::findSurroundingStatementFromSameFile

Supporting function to comment relocation in insertStatement() and removeStatement().

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility("default")]]
SgStatement*
findSurroundingStatementFromSameFile(
    SgStatement* targetStmt,
    bool& surroundingStatementPreceedsTargetStatement);

Return Value

This class represents the notion of a statement.

Parameters

Name Description
targetStmt This class represents the notion of a statement.

Created with MrDocs