FixupDeclarations
Initialize the definingDeclaration and firstNondefiningDeclaration pointers in SgDeclarationStatement consistantly for all declarations. Also fixup special case of multiple forward declaration where only the first one (the firstNondefiningDeclaration) get a valid pointer to the defining declaration if it exists.
Synopsis
Declared in <SageIII/astPostProcessing/fixupDeclarations.h>
class FixupDeclarations
: public SgSimpleProcessing
Base Classes
Name |
Description |
Member Functions
Name |
Description |
|
Required traversal function |
Description
This is a mechanism that would be complex to replace with a query
(I think). It would be at least expensive since the defining and
non-defining declarations need not even appear in the same scope.
Created with MrDocs