Commit 5838eb91 by Mark Mitchell Committed by Mark Mitchell

* cp-tree.h (DECL_CONV_FN_P): Check that DECL_NAME is non-NULL.

From-SVN: r74496
parent f71b53c8
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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment