c-tree.h (struct lang_type): Rename 'objc_protocols' field to 'objc_info'.
authorZiemowit Laski <zlaski@apple.com>
Tue, 7 Dec 2004 23:46:11 +0000 (23:46 +0000)
committerZiemowit Laski <zlaski@gcc.gnu.org>
Tue, 7 Dec 2004 23:46:11 +0000 (23:46 +0000)
[gcc/ChangeLog]
2004-12-07  Ziemowit Laski  <zlaski@apple.com>

        * c-tree.h (struct lang_type): Rename 'objc_protocols' field
        to 'objc_info'.

[gcc/cp/ChangeLog]
2004-12-07  Ziemowit Laski  <zlaski@apple.com>

        * cp-tree.h (struct lang_type_class): Rename 'objc_protocols'
        field to 'objc_info'.

From-SVN: r91833

gcc/ChangeLog
gcc/c-tree.h
gcc/cp/ChangeLog
gcc/cp/cp-tree.h

index 71c594b..9b1204d 100644 (file)
@@ -1,3 +1,8 @@
+2004-12-07  Ziemowit Laski  <zlaski@apple.com>
+
+       * c-tree.h (struct lang_type): Rename 'objc_protocols' field
+       to 'objc_info'.
+
 2004-12-07  Eric Christopher  <echristo@redhat.com>
 
        PR target/16317
index 21640ea..5415ee0 100644 (file)
@@ -73,9 +73,10 @@ struct lang_type GTY(())
   /* In an ENUMERAL_TYPE, the min and max values.  */
   tree enum_min;
   tree enum_max;
-  /* In a RECORD_TYPE, a list of Objective-C protocols that this type
-     adopts.  This is used only in Objective-C.  */
-  tree objc_protocols;
+  /* In a RECORD_TYPE, information specific to Objective-C, such
+     as a list of adopted protocols or a pointer to a corresponding
+     @interface.  See objc/objc-act.h for details.  */
+  tree objc_info;
 };
 
 /* Record whether a type or decl was written with nonconstant size.
index 16c854c..f129e11 100644 (file)
@@ -1,3 +1,8 @@
+2004-12-07  Ziemowit Laski  <zlaski@apple.com>
+
+       * cp-tree.h (struct lang_type_class): Rename 'objc_protocols'
+       field to 'objc_info'.
+
 2004-12-07  Kazu Hirata  <kazu@cs.umass.edu>
 
        * pt.c: Replace a use of first_rtl_op with TREE_CODE_LENGTH.
index d2b4edc..318b3b3 100644 (file)
@@ -1062,9 +1062,10 @@ struct lang_type_class GTY(())
   tree decl_list;
   tree template_info;
   tree befriending_classes;
-  /* In a RECORD_TYPE, a list of Objective-C protocols that this type
-     adopts.  This is used only in Objective-C++.  */
-  tree objc_protocols;
+  /* In a RECORD_TYPE, information specific to Objective-C++, such
+     as a list of adopted protocols or a pointer to a corresponding
+     @interface.  See objc/objc-act.h for details.  */
+  tree objc_info;
 };
 
 struct lang_type_ptrmem GTY(())