Skip to content

SageInterface::guardNode

Add preproccessor guard around a given node. It surrounds the node with "#if guard" and "#endif"

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

void
guardNode(
    SgLocatedNode* target,
    std::string guard);

Parameters

Name

Description

target

This class represents the notion of an expression or statement which

Created with MrDocs