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 71c594b65ce5234683e53a39e1467414eba9da99..9b1204d8a6c1f926ae935f5f8bbc1feebda00283 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 21640ea6c887fe6c56b7231091809dd63e4f1da9..5415ee079b60b99ec088d081f9f625ff4d688be0 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 16c854cc1a5bb25e0f6893cefb9115cfee62f49b..f129e110c0f8a5d47ca7dce9a1e70ffe49d46be1 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 d2b4edcd4ecaa2cf7e05fcba8ecd2639e9c4f7cf..318b3b30a257d19fa08dedac571235902250dc25 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(())