Skip to content

addPrototypesForTemplateInstantiations

Fixups transformations that have added template instantiations or caused template instantiations to be output so that there is a proper prototype declaration before the template instantation is called.

Synopsis

Declared in <SageIII/astPostProcessing/addPrototypesForTemplateInstantiations.h>

void
addPrototypesForTemplateInstantiations(SgNode* node);

Description

All prototypes if built, should be output into the source file.

This post processing needs to be run before unparsing, and mostly
  after user transformations.

  \todo Needc to consider how this might effect unparsing of header files.

Parameters

Name

Description

node

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

Created with MrDocs