diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 7c9c887bc84de8f66e3cf65dcccd328ca9d47657..20a8f798ef85b69e252df7951ed8de73cbeff37e 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2000-08-24 Greg McGary <greg@mcgary.org> + + * cp-tree.h (MAIN_NAME_P): Remove macro. + 2000-08-24 Gabriel Dos Reis <gdr@codesourcery.com> * error.c (print_instantiation_context): Don't forget to flush the diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 8ccb19bcaff6c1df540a2e48aaa6ac98e050bcec..aa77ab10a9a7c7e109c3fbc72db1867ea096b331 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -376,11 +376,6 @@ typedef struct ptrmem_cst && DECL_NAME (NODE) != NULL_TREE \ && MAIN_NAME_P (DECL_NAME (NODE))) -/* Returns non-zero iff ID_NODE is an IDENTIFIER_NODE whose name is - `main'. */ -#define MAIN_NAME_P(ID_NODE) \ - (strcmp (IDENTIFIER_POINTER (ID_NODE), "main") == 0) - struct tree_binding { @@ -3506,11 +3501,6 @@ extern varray_type local_classes; (BUF) = wbuf; \ } while (0) -/* Returns non-zero iff ID_NODE is an IDENTIFIER_NODE whose name is - `main'. */ -#define MAIN_NAME_P(ID_NODE) \ - (strcmp (IDENTIFIER_POINTER (ID_NODE), "main") == 0) - /* Returns non-zero iff NODE is a declaration for the global function `main'. */ #define DECL_MAIN_P(NODE) \