fixupFortranReferences
Fixup Fortran array vs. function references.
Synopsis
Declared in <SageIII/astPostProcessing/resolveFortranReferences.h>
void
fixupFortranReferences(SgNode* node);
Description
Fortran references to arrys and functions can not be easily disambiguated until after the whole program has been seen. Part of this is because function may not be defined until after they are called. To support this analysis, we build a special IR node (SgUnknownArrayOrFunctionReference) when a function call can not be resolved to a function symbol in the symbol table. There may in the future be more complex senarios where we build the SgUnknownArrayOrFunctionReference IR nodes and defer the evaluation of a reference (as an array or a function) until postāprocessing.
This analysis is required only for Fortran support.
Parameters
Name |
Description |
node |
This class represents the base class for all IR nodes within Sage III. |
Created with MrDocs