c-tree.h (struct lang_type): Add 'objc_protocols' field.
authorZiemowit Laski <zlaski@apple.com>
Tue, 7 Dec 2004 03:52:22 +0000 (03:52 +0000)
committerZiemowit Laski <zlaski@gcc.gnu.org>
Tue, 7 Dec 2004 03:52:22 +0000 (03:52 +0000)
[gcc/ChangeLog]
2004-12-06  Ziemowit Laski  <zlaski@apple.com>

        * c-tree.h (struct lang_type): Add 'objc_protocols' field.

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

        * cp-tree.h (struct lang_type_class): Add 'objc_protocols' field.

From-SVN: r91803

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

index ebc7bae02a25b98752eb48b889726fa9623cdbbb..c7683a977ec11c7a86ca803a16b58a0f0fe5a7c9 100644 (file)
@@ -1,3 +1,7 @@
+2004-12-06  Ziemowit Laski  <zlaski@apple.com>
+
+       * c-tree.h (struct lang_type): Add 'objc_protocols' field.
+
 2004-12-06  DJ Delorie  <dj@redhat.com>
 
        * reload.c (find_valid_class): Fix logic to test inner mode as well.
index 5db3c091a50f3b821926c706515ce3cdd7a9f12a..21640ea6c887fe6c56b7231091809dd63e4f1da9 100644 (file)
@@ -73,6 +73,9 @@ 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;
 };
 
 /* Record whether a type or decl was written with nonconstant size.
index 0ffc52dafa30f38785243ba80adb077970ab2f95..8569e1815cb377a13985dd6ae12e7b0563e7c419 100644 (file)
@@ -1,3 +1,7 @@
+2004-12-06  Ziemowit Laski  <zlaski@apple.com>
+
+       * cp-tree.h (struct lang_type_class): Add 'objc_protocols' field.
+
 2004-12-04  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
 
        PR c++/17011, c++/17971
index ecc09cd3b5a10394b5327fe90b4f3e77d21f76bc..d2b4edcd4ecaa2cf7e05fcba8ecd2639e9c4f7cf 100644 (file)
@@ -1062,6 +1062,9 @@ 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;
 };
 
 struct lang_type_ptrmem GTY(())