This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

C++ PATCH to cp/cp-tree.h


This patchlet corrects an accident in Nathan's previous documentation
patch.  Applied as obvious.

-- Gaby

2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>

	* cp-tree.h (VF_DERIVED_VALUE): Restore from previous deletion.

Index: cp-tree.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/cp-tree.h,v
retrieving revision 1.737
diff -p -r1.737 cp-tree.h
*** cp-tree.h	30 Jul 2002 05:03:42 -0000	1.737
--- cp-tree.h	30 Jul 2002 07:49:04 -0000
*************** struct lang_type GTY(())
*** 1753,1758 ****
--- 1753,1760 ----
  #define VF_BASETYPE_VALUE(NODE) TREE_VALUE (NODE)
  
  /* Accessor macros for the BINFO_VIRTUALS list. */
+ #define VF_DERIVED_VALUE(NODE) \
+    (VF_BINFO_VALUE (NODE) ? BINFO_TYPE (VF_BINFO_VALUE (NODE)) : NULL_TREE)
  
  /* The number of bytes by which to adjust the `this' pointer when
     calling this virtual function.  Subtract this value from the this


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]