ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fixupCopy.h File Reference

Go to the source code of this file.

Macros

#define DEBUG_FIXUP_COPY   0
 
#define DEBUG_FIXUP_COPY_OUTPUT_MAP   0
 
#define FixupCopyDataMemberMacro(IR_node_copy, IR_node_type, get_accessFunctionName, set_accessFunctionName)
 

Functions

void outputMap (SgCopyHelp &help)
 

Macro Definition Documentation

#define DEBUG_FIXUP_COPY   0

Definition at line 5 of file fixupCopy.h.

#define DEBUG_FIXUP_COPY_OUTPUT_MAP   0

Definition at line 6 of file fixupCopy.h.

#define FixupCopyDataMemberMacro (   IR_node_copy,
  IR_node_type,
  get_accessFunctionName,
  set_accessFunctionName 
)
Value:
if (IR_node_copy->get_accessFunctionName() == this->get_accessFunctionName()) \
{ \
SgCopyHelp::copiedNodeMapTypeIterator i = help.get_copiedNodeMap().find(this->get_accessFunctionName()); \
if (i != help.get_copiedNodeMap().end()) \
{ \
SgNode* associated_node_copy = i->second; \
ROSE_ASSERT(associated_node_copy != NULL); \
IR_node_type* local_copy = is##IR_node_type(associated_node_copy); \
ROSE_ASSERT(local_copy != NULL); \
IR_node_copy->set_accessFunctionName(local_copy); \
} \
ROSE_ASSERT(IR_node_copy->get_accessFunctionName()->variantT() == this->get_accessFunctionName()->variantT()); \
}

Definition at line 37 of file fixupCopy.h.

Function Documentation

void outputMap ( SgCopyHelp help)