diff options
| author | shebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-20 02:57:28 +0000 |
|---|---|---|
| committer | shebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-20 02:57:28 +0000 |
| commit | 8bd4fed29b3563af9a2d7fe4db7882cabbfecb15 (patch) | |
| tree | b495fa9989f9259a248d630d2f8797772fe8b74e | |
| parent | df18b75a34505110b3a6282e644f2e73372354fa (diff) | |
| download | ppe42-gcc-8bd4fed29b3563af9a2d7fe4db7882cabbfecb15.tar.gz ppe42-gcc-8bd4fed29b3563af9a2d7fe4db7882cabbfecb15.zip | |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40646 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 6 | ||||
| -rw-r--r-- | gcc/c-lang.c | 7 | ||||
| -rw-r--r-- | gcc/c-tree.h | 1 | ||||
| -rw-r--r-- | gcc/objc/objc-act.c | 13 |
4 files changed, 6 insertions, 21 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 29edf0c5dfc..aa86effe455 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/c-lang.c b/gcc/c-lang.c index 53ebdabb546..22c98100ee1 100644 --- a/gcc/c-lang.c +++ b/gcc/c-lang.c @@ -145,13 +145,6 @@ maybe_objc_comptypes (lhs, rhs, reflexive) } tree -maybe_objc_method_name (decl) - tree decl ATTRIBUTE_UNUSED; -{ - return 0; -} - -tree maybe_building_objc_message_expr () { return 0; diff --git a/gcc/c-tree.h b/gcc/c-tree.h index 939ca3fafed..45ed4de33f2 100644 --- a/gcc/c-tree.h +++ b/gcc/c-tree.h @@ -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)); diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index d71ba590d62..c5db445c2fd 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -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". */ |

