Skip to content

SageInterface::moveUpPreprocessingInfo

Identical to movePreprocessingInfo(), except for the stale name and confusing order of parameters. It will be deprecated soon.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
void
moveUpPreprocessingInfo(
    SgStatement* stmt_dst,
    SgStatement* stmt_src,
    PreprocessingInfo::RelativePositionType src_position = PreprocessingInfo::undef,
    PreprocessingInfo::RelativePositionType dst_position = PreprocessingInfo::undef,
    bool usePrepend = false);

Parameters

Name

Description

stmt_dst

This class represents the notion of a statement.

stmt_src

This class represents the notion of a statement.

src_position

MK: Enum type to store if the directive goes before or after the corresponding line of source code

dst_position

MK: Enum type to store if the directive goes before or after the corresponding line of source code

Created with MrDocs