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
This commit is contained in:
Ziemowit Laski 2004-12-07 03:52:22 +00:00 committed by Ziemowit Laski
parent e11ab33b76
commit 66237a39fc
4 changed files with 14 additions and 0 deletions

View 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.

View 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.

View 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

View 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(())