Hello,

apparently the doc wasn't updated 10 years ago when the macro CP_TYPE_QUALS was replaced with the function cp_type_quals. I assume the behavior didn't change, so the documentation change should be minor. Or are functions documented differently?

2011-08-08  Marc Glisse  <marc.gli...@inria.fr>

        * doc/generic.texi: CP_TYPE_QUALS -> cp_type_quals

--
Marc Glisse
Index: doc/generic.texi
===================================================================
--- doc/generic.texi    (revision 177557)
+++ doc/generic.texi    (working copy)
@@ -2504,7 +2504,7 @@
 @tindex UNKNOWN_TYPE
 @tindex TYPENAME_TYPE
 @tindex TYPEOF_TYPE
-@findex CP_TYPE_QUALS
+@findex cp_type_quals
 @findex TYPE_UNQUALIFIED
 @findex TYPE_QUAL_CONST
 @findex TYPE_QUAL_VOLATILE
@@ -2536,8 +2536,8 @@
 
 The following functions and macros deal with cv-qualification of types:
 @ftable @code
-@item CP_TYPE_QUALS
-This macro returns the set of type qualifiers applied to this type.
+@item cp_type_quals
+This function returns the set of type qualifiers applied to this type.
 This value is @code{TYPE_UNQUALIFIED} if no qualifiers have been
 applied.  The @code{TYPE_QUAL_CONST} bit is set if the type is
 @code{const}-qualified.  The @code{TYPE_QUAL_VOLATILE} bit is set if the

Reply via email to