[C++] misc patch class.c

Graham Stott grahams@redhat.com
Sun Jan 6 01:15:00 GMT 2002


All,

This patch tidies up the macros in class.c w.r.t parenthesis, whitespace, etc.

Bootstrapped i686-pc-linux-gnu, all languages, no regressions.

Graham

cp/ChangeLog

        * class.c: Update copyright date.
        (VTT_TOP_LEVEL_P): Uppercase macro parameter and whitespace.
        (VTT_MARKED_BINFO_P): Likewise.

----------------------------------------------------------------
Index: class.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/class.c,v
retrieving revision 1.428
diff -c -p -r1.428 class.c 
*** class.c     2002/01/04 14:02:14     1.428
--- class.c     2002/01/06 08:59:01
***************
*** 1,6 ****
  /* Functions related to building classes and their related objects.
     Copyright (C) 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
!    1999, 2000, 2001  Free Software Foundation, Inc.
     Contributed by Michael Tiemann (tiemann@cygnus.com)
  
  This file is part of GNU CC.
--- 1,6 ----
  /* Functions related to building classes and their related objects.
     Copyright (C) 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
!    1999, 2000, 2001, 2002  Free Software Foundation, Inc.
     Contributed by Michael Tiemann (tiemann@cygnus.com)
  
  This file is part of GNU CC.
*************** static bool type_requires_array_cookie P
*** 218,225 **** 
  /* Macros for dfs walking during vtt construction. See
     dfs_ctor_vtable_bases_queue_p, dfs_build_secondary_vptr_vtt_inits
     and dfs_fixup_binfo_vtbls.  */
! #define VTT_TOP_LEVEL_P(node) TREE_UNSIGNED(node)
! #define VTT_MARKED_BINFO_P(node) TREE_USED(node)
  
  /* Variables shared between class.c and call.c.  */

--- 218,225 ----
  /* Macros for dfs walking during vtt construction. See
     dfs_ctor_vtable_bases_queue_p, dfs_build_secondary_vptr_vtt_inits
     and dfs_fixup_binfo_vtbls.  */
! #define VTT_TOP_LEVEL_P(NODE) TREE_UNSIGNED (NODE)
! #define VTT_MARKED_BINFO_P(NODE) TREE_USED (NODE)
  
  /* Variables shared between class.c and call.c.  */
-----------------------------------------------------------------------



More information about the Gcc-patches mailing list