Skip to content

ASTtools::cutPreprocInfo

Removes all preprocessing information at a given position.

Synopsis

Declared in <src/midend/programTransformation/astOutlining/PreprocessingInfo.hh>

void
cutPreprocInfo(
    SgBasicBlock* b,
    PreprocessingInfo::RelativePositionType pos,
    AttachedPreprocessingInfoType& save_buf);

Parameters

Name Description
b This class represents the concept of a block (not a basic block from control flow analysis).
pos MK: Enum type to store if the directive goes before or after the corresponding line of source code

Created with MrDocs