cp:
* error.c (dump_function_decl): Use DECL_VIRTUAL_P, not
TYPE_POLYMORPHIC_P.
* typeck.c (build_static_cast): Remove unused variable.
From-SVN: r37996
+2000-12-04 Nathan Sidwell <nathan@codesourcery.com>
+
+ * error.c (dump_function_decl): Use DECL_VIRTUAL_P, not
+ TYPE_POLYMORPHIC_P.
+
+ * typeck.c (build_static_cast): Remove unused variable.
+
2000-12-01 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* pt.c: Fix typo in comment.
/* OK */;
else if (DECL_STATIC_FUNCTION_P (t))
print_identifier (scratch_buffer, "static ");
- else if (TYPE_POLYMORPHIC_P (t))
+ else if (DECL_VIRTUAL_P (t))
print_identifier (scratch_buffer, "virtual ");
/* Print the return type? */
build_static_cast (type, expr)
tree type, expr;
{
- tree intype, binfo;
+ tree intype;
int ok;
if (type == error_mark_node || expr == error_mark_node)