This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[checked-in ChangeLog fixes] (was: Re: [PATCH] Objective-C : Donot accept an object as parameter to a method)


At Wed, 26 Jun 2002 23:58:39 +0000 (UTC), "Devang Patel" wrote:
> With this simple patch compiler checks whether (and raise error if 
> required) an object
> is used as parameter to a method or not.  Because it is not a good idea 
> in Objective-C.
> 
> 2002-06-26 Devang Patel <dpatel@apple.com>
> 
>      * objc/objc-act.c (adjust_type_for_id_default): Do not allow an 
> object
>        as parameter.
> testsuite:
>      * objc.dg/param-1.m: New test.

looks like you just checked this in, and the change logs were
ill-formatted.

I just fixed them ("obvious" 8-) with the patch below.


cgd
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ChangeLog,v
retrieving revision 1.14768
diff -u -r1.14768 ChangeLog
--- ChangeLog	2 Jul 2002 23:05:54 -0000	1.14768
+++ ChangeLog	2 Jul 2002 23:10:23 -0000
@@ -1,5 +1,5 @@
+2002-07-02 Devang Patel <dpatel@apple.com>
 
-2002-07-02 Devang Patel <dpatel@apple.com
 	* objc/objc-act.c (adjust_type_for_id_default): Do not allow an
 	  object as parameter. Prevent something like 'NSObject' to be
 	  used as the type for a method argument.
Index: testsuite/ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/ChangeLog,v
retrieving revision 1.1961
diff -u -r1.1961 ChangeLog
--- testsuite/ChangeLog	2 Jul 2002 23:06:03 -0000	1.1961
+++ testsuite/ChangeLog	2 Jul 2002 23:10:23 -0000
@@ -1,4 +1,5 @@
 2002-07-02 Devang Patel <dpatel@apple.com>
+
 	* objc.dg/param-1.m: New test.
 
 2002-07-03  Neil Booth  <neil@daikokuya.co.uk>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]