Program Listing for File fixupNullPointers.h

Program Listing for File fixupNullPointers.h#

Return to documentation for file (src/frontend/SageIII/astPostProcessing/fixupNullPointers.h)

#ifndef FIXUP_NULL_POINTERS_H
#define FIXUP_NULL_POINTERS_H

// DQ (3/11/2006):
void
fixupNullPointersInAST (SgNode* node);


// DQ (3/11/2006):
class FixupNullPointersInAST : public AstSimpleProcessing
   {
  // This class uses a traversal to test the values of the definingDeclaration and
  // firstNondefiningDeclaration pointers in each SgDeclarationStatement.  See code for
  // details, since both of these pointers are not always set.

     public:
          void visit ( SgNode* node );
   };

// endif for FIXUP_NULL_POINTERS_H
#endif