Commit 66237a39 by Ziemowit Laski Committed by Ziemowit Laski

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

[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
parent e11ab33b
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> 2004-12-06 DJ Delorie <dj@redhat.com>
* reload.c (find_valid_class): Fix logic to test inner mode as well. * reload.c (find_valid_class): Fix logic to test inner mode as well.
......
...@@ -73,6 +73,9 @@ struct lang_type GTY(()) ...@@ -73,6 +73,9 @@ struct lang_type GTY(())
/* In an ENUMERAL_TYPE, the min and max values. */ /* In an ENUMERAL_TYPE, the min and max values. */
tree enum_min; tree enum_min;
tree enum_max; 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. /* Record whether a type or decl was written with nonconstant size.
......
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> 2004-12-04 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/17011, c++/17971 PR c++/17011, c++/17971
......
...@@ -1062,6 +1062,9 @@ struct lang_type_class GTY(()) ...@@ -1062,6 +1062,9 @@ struct lang_type_class GTY(())
tree decl_list; tree decl_list;
tree template_info; tree template_info;
tree befriending_classes; 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(()) struct lang_type_ptrmem GTY(())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment