* tree.h (TREE_VIA_PROTECTED): Update to show can be in TREE_VEC.

From-SVN: r47419
This commit is contained in:
Richard Kenner 2001-11-28 14:37:58 +00:00 committed by Richard Kenner
parent c46080ab33
commit 3e87ad4df7
2 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,7 @@
Wed Nov 28 08:21:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* tree.h (TREE_VIA_PROTECTED): Update to show can be in TREE_VEC.
* tree.h: Add missing checks on some macros; make formatting more
consistent.

View File

@ -198,6 +198,7 @@ struct tree_common
TREE_VIA_PROTECTED in
TREE_LIST
TREE_VEC
TREE_PROTECTED in
BLOCK
??? unspecified nodes
@ -530,12 +531,11 @@ extern void tree_class_check_failed PARAMS ((const tree, int,
/* Ditto, for `private' declarations. */
#define TREE_VIA_PRIVATE(NODE) ((NODE)->common.private_flag)
/* Nonzero for TREE_LIST node means that the path to the
/* Nonzero for TREE_LIST or TREE_VEC node means that the path to the
base class is via a `protected' declaration, which preserves
protected fields from the base class as protected.
OVERLOADED. */
#define TREE_VIA_PROTECTED(NODE) \
(TREE_LIST_CHECK (NODE)->common.protected_flag)
#define TREE_VIA_PROTECTED(NODE) ((NODE)->common.protected_flag)
/* In any expression, nonzero means it has side effects or reevaluation
of the whole expression could produce a different value.