summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2008-01-22 05:57:39 +0000
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2008-01-22 05:57:39 +0000
commitf47ba5b1efd2ec32a67922cfbc5b032d011a4940 (patch)
tree48267ac9b5609d4a1ab940279102f3afa582f141
parent0bc060a49d7ac66f72e93cc080abcc9e2175f55c (diff)
downloadppe42-gcc-f47ba5b1efd2ec32a67922cfbc5b032d011a4940.tar.gz
ppe42-gcc-f47ba5b1efd2ec32a67922cfbc5b032d011a4940.zip
* tree.c (check_qualified_type): Improve function description.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131711 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/tree.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d65e49615d5..b241301497a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2008-01-22 Ben Elliston <bje@au.ibm.com>
+
+ * tree.c (check_qualified_type): Improve function description.
+
2008-01-21 Jason Merrill <jason@redhat.com>
PR c++/34196
diff --git a/gcc/tree.c b/gcc/tree.c
index b96dc35293f..4757cbccc13 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -4151,7 +4151,7 @@ set_type_quals (tree type, int type_quals)
TYPE_RESTRICT (type) = (type_quals & TYPE_QUAL_RESTRICT) != 0;
}
-/* Returns true iff cand is equivalent to base with type_quals. */
+/* Returns true iff CAND is equivalent to BASE with TYPE_QUALS. */
bool
check_qualified_type (const_tree cand, const_tree base, int type_quals)
OpenPOWER on IntegriCloud