aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGreg McGary <greg@mcgary.org>2000-08-24 20:11:54 +0000
committerGreg McGary <gkm@gcc.gnu.org>2000-08-24 20:11:54 +0000
commit7ec09bf79b0fad8911f0a96db05af16624a07142 (patch)
tree9c5b0f1ecdb2361bea1631ba65bb246c71312966 /gcc
parent5b47282c68f4e38146f46b66d5e6d3d90fe25a4d (diff)
downloadgcc-7ec09bf79b0fad8911f0a96db05af16624a07142.zip
gcc-7ec09bf79b0fad8911f0a96db05af16624a07142.tar.gz
gcc-7ec09bf79b0fad8911f0a96db05af16624a07142.tar.bz2
* cp-tree.h (MAIN_NAME_P): Remove macro.
From-SVN: r35946
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/cp-tree.h10
2 files changed, 4 insertions, 10 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 7c9c887..20a8f79 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 8ccb19b..aa77ab1 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) \