[v2,11/12] extend.texi: Add documentation for __remove_pointer
Commit Message
gcc/ChangeLog:
* doc/extend.texi (__remove_pointer): New documentation.
Signed-off-by: Ken Matsui <kmatsui@gcc.gnu.org>
---
gcc/doc/extend.texi | 5 +++++
1 file changed, 5 insertions(+)
@@ -29716,6 +29716,11 @@ If @var{type} is a cv union type ([basic.compound]) the trait is
@code{true}, else it is @code{false}.
@enddefbuiltin
+@defbuiltin{@var{type} __remove_pointer (@var{ptr_type})}
+If @var{ptr_type} is a pointer type ([dcl.ptr]) then the trait is the
+@var{type} pointed to by @var{ptr_type}, else it is @var{ptr_type}.
+@enddefbuiltin
+
@defbuiltin{bool __underlying_type (@var{type})}
The underlying type of @var{type}.
Requires: @var{type} shall be an enumeration type ([dcl.enum]).