aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorZiemowit Laski <zlaski@apple.com>2004-12-07 23:46:11 +0000
committerZiemowit Laski <zlaski@gcc.gnu.org>2004-12-07 23:46:11 +0000
commitc7baa14599b771e8d118b5cd33423c84a40e5097 (patch)
treeee1a82bd11c80d04bbe6f2fd8ac159980134d7e9 /gcc
parent6e4d9244f73b5859d90a34a8562300974c6baf29 (diff)
downloadgcc-c7baa14599b771e8d118b5cd33423c84a40e5097.zip
gcc-c7baa14599b771e8d118b5cd33423c84a40e5097.tar.gz
gcc-c7baa14599b771e8d118b5cd33423c84a40e5097.tar.bz2
c-tree.h (struct lang_type): Rename 'objc_protocols' field to 'objc_info'.
[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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/c-tree.h7
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/cp-tree.h7
4 files changed, 18 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 71c594b..9b1204d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/c-tree.h b/gcc/c-tree.h
index 21640ea..5415ee0 100644
--- a/gcc/c-tree.h
+++ b/gcc/c-tree.h
@@ -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.
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 16c854c..f129e11 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -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.
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index d2b4edc..318b3b3 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -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(())