Skip to content

SageInterface::insertHeader

Insert a new header right before stmt, if there are existing headers attached to stmt, insert it as the last or first header as specified by asLastHeader

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
void
insertHeader(
    SgStatement* stmt,
    PreprocessingInfo* newheader,
    bool asLastHeader);

Parameters

Name

Description

stmt

This class represents the notion of a statement.

newheader

For preprocessing information including source comments, include , if, define, etc

Created with MrDocs