Skip to content

CPreproc::extractIfDirectives

Extracts the '#if' directive structure from a project.

Synopsis

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

void
extractIfDirectives(
    SgNode* root,
    Ifs_t& ifs);

Parameters

Name

Description

root

This class represents the base class for all IR nodes within Sage III.

ifs

Stores lists of directives.

Created with MrDocs