mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-25 03:18:52 +08:00
objc-act.c (maybe_objc_method_name): Remove, never called.
2001-03-19 Stan Shebs <shebs@apple.com> * objc/objc-act.c (maybe_objc_method_name): Remove, never called. * c-lang.c (maybe_objc_method_name): Ditto. * c-tree.h (maybe_objc_method_name): Remove decl. From-SVN: r40646
This commit is contained in:
parent
d60726dac1
commit
ced5bce715
@ -1,3 +1,9 @@
|
||||
2001-03-19 Stan Shebs <shebs@apple.com>
|
||||
|
||||
* objc/objc-act.c (maybe_objc_method_name): Remove, never called.
|
||||
* c-lang.c (maybe_objc_method_name): Ditto.
|
||||
* c-tree.h (maybe_objc_method_name): Remove decl.
|
||||
|
||||
2001-03-19 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* gcc.c (init_gcc_specs): Fix comment.
|
||||
|
@ -144,13 +144,6 @@ maybe_objc_comptypes (lhs, rhs, reflexive)
|
||||
return -1;
|
||||
}
|
||||
|
||||
tree
|
||||
maybe_objc_method_name (decl)
|
||||
tree decl ATTRIBUTE_UNUSED;
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
tree
|
||||
maybe_building_objc_message_expr ()
|
||||
{
|
||||
|
@ -148,7 +148,6 @@ extern void maybe_objc_check_decl PARAMS ((tree));
|
||||
extern void finish_file PARAMS ((void));
|
||||
extern int maybe_objc_comptypes PARAMS ((tree, tree, int));
|
||||
extern tree maybe_building_objc_message_expr PARAMS ((void));
|
||||
extern tree maybe_objc_method_name PARAMS ((tree));
|
||||
extern int recognize_objc_keyword PARAMS ((void));
|
||||
extern tree lookup_objc_ivar PARAMS ((tree));
|
||||
|
||||
|
@ -6937,19 +6937,6 @@ expr_last (complex_expr)
|
||||
return complex_expr;
|
||||
}
|
||||
|
||||
/* The selector of the current method,
|
||||
or NULL if we aren't compiling a method. */
|
||||
|
||||
tree
|
||||
maybe_objc_method_name (decl)
|
||||
tree decl ATTRIBUTE_UNUSED;
|
||||
{
|
||||
if (method_context)
|
||||
return METHOD_SEL_NAME (method_context);
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Transform a method definition into a function definition as follows:
|
||||
- synthesize the first two arguments, "self" and "_cmd". */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user