This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
C++ PATCH to cp/cp-tree.h
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: gcc-patches at gcc dot gnu dot org
- Cc: nathan at codesourcery dot com
- Date: 30 Jul 2002 09:48:32 +0200
- Subject: C++ PATCH to cp/cp-tree.h
- Organization: CodeSourcery, LLC
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