* cp-tree.h (TYPE_PTRMEMFUNC_P): Check TYPE_LANG_SPECIFIC non-null.
From-SVN: r28409
This commit is contained in:
parent
dfafc897fe
commit
83e9506e13
|
@ -1,3 +1,7 @@
|
|||
1999-08-02 Richard Henderson <rth@cygnus.com>
|
||||
|
||||
* cp-tree.h (TYPE_PTRMEMFUNC_P): Check TYPE_LANG_SPECIFIC non-null.
|
||||
|
||||
1999-08-01 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* call.c (build_conditional_expr): Fix typo in comment.
|
||||
|
|
|
@ -1780,8 +1780,11 @@ extern int flag_new_for_scope;
|
|||
|
||||
/* Nonzero for _TYPE node means that this type is a pointer to member
|
||||
function type. */
|
||||
#define TYPE_PTRMEMFUNC_P(NODE) \
|
||||
(TREE_CODE(NODE) == RECORD_TYPE && TYPE_PTRMEMFUNC_FLAG (NODE))
|
||||
#define TYPE_PTRMEMFUNC_P(NODE) \
|
||||
(TREE_CODE(NODE) == RECORD_TYPE \
|
||||
&& TYPE_LANG_SPECIFIC(NODE) \
|
||||
&& TYPE_PTRMEMFUNC_FLAG (NODE))
|
||||
|
||||
#define TYPE_PTRMEMFUNC_FLAG(NODE) \
|
||||
(TYPE_LANG_SPECIFIC(NODE)->type_flags.ptrmemfunc_flag)
|
||||
|
||||
|
|
Loading…
Reference in New Issue