mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-04 09:14:04 +08:00
* cp-tree.h (DECL_CONV_FN_P): Check that DECL_NAME is non-NULL.
From-SVN: r74496
This commit is contained in:
parent
f71b53c8a0
commit
5838eb9118
@ -1,3 +1,7 @@
|
||||
2003-12-10 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* cp-tree.h (DECL_CONV_FN_P): Check that DECL_NAME is non-NULL.
|
||||
|
||||
2003-12-08 Matt Austern <austern@apple.com>
|
||||
|
||||
PR c/13134
|
||||
|
@ -1840,7 +1840,7 @@ struct lang_decl GTY(())
|
||||
|
||||
/* Nonzero if NODE is a user-defined conversion operator. */
|
||||
#define DECL_CONV_FN_P(NODE) \
|
||||
(IDENTIFIER_TYPENAME_P (DECL_NAME (NODE)))
|
||||
(DECL_NAME (NODE) && IDENTIFIER_TYPENAME_P (DECL_NAME (NODE)))
|
||||
|
||||
/* If FN is a conversion operator, the type to which it converts.
|
||||
Otherwise, NULL_TREE. */
|
||||
|
Loading…
Reference in New Issue
Block a user