public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* objc/: Remove unused macros
@ 2002-07-25 14:22 Neil Booth
  0 siblings, 0 replies; only message in thread
From: Neil Booth @ 2002-07-25 14:22 UTC (permalink / raw)
  To: gcc-patches; +Cc: Stan Shebs

Applied.

Neil.

	* objc/objc-act.c (UTAG_STATICS, UTAG_PROTOCOL_LIST, USERTYPE):
	Remove.

Index: objc/objc-act.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/objc/objc-act.c,v
retrieving revision 1.143
diff -u -p -r1.143 objc-act.c
--- objc/objc-act.c	23 Jul 2002 06:22:05 -0000	1.143
+++ objc/objc-act.c	25 Jul 2002 21:16:30 -0000
@@ -310,13 +310,11 @@ static void generate_struct_by_value_arr
 #define UTAG_METHOD_LIST	"_objc_method_list"
 #define UTAG_CATEGORY		"_objc_category"
 #define UTAG_MODULE		"_objc_module"
-#define UTAG_STATICS		"_objc_statics"
 #define UTAG_SYMTAB		"_objc_symtab"
 #define UTAG_SUPER		"_objc_super"
 #define UTAG_SELECTOR		"_objc_selector"
 
 #define UTAG_PROTOCOL		"_objc_protocol"
-#define UTAG_PROTOCOL_LIST	"_objc_protocol_list"
 #define UTAG_METHOD_PROTOTYPE	"_objc_method_prototype"
 #define UTAG_METHOD_PROTOTYPE_LIST "_objc__method_prototype_list"
 
@@ -3428,10 +3426,6 @@ error_with_ivar (message, decl, rawdecl)
 			    message, gen_declaration (rawdecl, errbuf));
 
 }
-
-#define USERTYPE(t) \
- (TREE_CODE (t) == RECORD_TYPE || TREE_CODE (t) == UNION_TYPE \
-  ||  TREE_CODE (t) == ENUMERAL_TYPE)
 
 static void
 check_ivars (inter, imp)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-25 21:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-25 14:22 objc/: Remove unused macros Neil Booth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).