Skip to content

SageInterface::pastePreprocessingInfo

Paste preprocessing information from a buffer to a destination node. Used in combination of cutPreprocessingInfo()

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility("default")]]
void
pastePreprocessingInfo(
    SgLocatedNode* dst_node,
    PreprocessingInfo::RelativePositionType pos,
    AttachedPreprocessingInfoType& saved_buf);

Parameters

Name Description
dst_node This class represents the notion of an expression or statement which
pos MK: Enum type to store if the directive goes before or after the corresponding line of source code

Created with MrDocs