This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c-tree.texi Doc Patch


Gerald Pfeifer suggested that this proposed patch needs consideration
by others.  My changes seem to make sense to me, a novice, but I may
be misreading something here:

ChangeLog

2008-02-03 Tom Browder <tom.browder@gmail.com>

	   * doc/c-tree.texi (Types):
	   Clarified description of type examination.

	   Changed 'cv-qualification' to 'cp-qualification' assuming that the
	   'cp' refers to the prefix of the type definitions that follows
	   (e.g., CP_TYPE_QUALS).

Index: c-tree.texi
===================================================================
--- c-tree.texi	(revision 132087)
+++ c-tree.texi	(working copy)
@@ -327,6 +327,6 @@
 representation.  The macros described here will always examine the
 qualification of the underlying element type when applied to an array
 type.  (If the element type is itself an array, then the recursion
-continues until a non-array type is found, and the qualification of this
-type is examined.)  So, for example, @code{CP_TYPE_CONST_P} will hold of
+continues until a non-array type is found and the qualification of its
+type is examined.)  So, for example, @code{CP_TYPE_CONST_P} will hold
 the type @code{const int ()[7]}, denoting an array of seven @code{int}s.

-The following functions and macros deal with cv-qualification of types:
+The following functions and macros deal with cp-qualification of types:
 @ftable @code
 @item CP_TYPE_QUALS
 This macro returns the set of type qualifiers applied to this type.


-Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]