Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly
[dragonfly.git] / gnu / usr.bin / cc34 / cc1plus / patches / cp-tree.h.patch
1 $DragonFly: src/gnu/usr.bin/cc34/cc1plus/patches/cp-tree.h.patch,v 1.1 2004/12/21 13:10:47 joerg Exp $
2
3 ===================================================================
4 RCS file: /home/joerg/wd/repository/dragonflybsd/src/contrib/gcc-3.4/gcc/cp/cp-tree.h,v
5 retrieving revision 1.2
6 diff -u -r1.2 cp-tree.h
7 --- cp-tree.h   20 Dec 2004 19:23:25 -0000      1.2
8 +++ cp-tree.h   20 Dec 2004 20:59:07 -0000
9 @@ -1008,7 +1008,12 @@
10  #define PUBLICLY_UNIQUELY_DERIVED_P(PARENT, TYPE) \
11    (lookup_base ((TYPE), (PARENT),  ba_not_special | ba_quiet, NULL) \
12     != NULL_TREE)
13 -\f
14 +
15 +/* Gives the visibility specification for a class type.  */
16 +#define CLASSTYPE_VISIBILITY(TYPE)             DECL_VISIBILITY (TYPE_NAME (TYPE))
17 +#define CLASSTYPE_VISIBILITYSPECIFIED(TYPE)    DECL_VISIBILITYSPECIFIED (TYPE_NAME (TYPE))
18 +
19 +
20  /* This is a few header flags for 'struct lang_type'.  Actually,
21     all but the first are used only for lang_type_class; they
22     are put in this structure to save space.  */