doc: add return type for functions in gimple.texi
authorHu Jiangping <hujiangping@cn.fujitsu.com>
Tue, 18 Aug 2020 16:47:08 +0000 (17:47 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Tue, 18 Aug 2020 16:47:08 +0000 (17:47 +0100)
gcc/
* doc/gimple.texi (gimple_debug_begin_stmt_p): Add return type.
(gimple_debug_inline_entry_p, gimple_debug_nonbind_marker_p): Likewise.

gcc/doc/gimple.texi

index 5e0fc2e..f01c308 100644 (file)
@@ -831,17 +831,17 @@ expression to a variable.
 Return true if g is any of the OpenMP codes.
 @end deftypefn
 
-@deftypefn {GIMPLE function} gimple_debug_begin_stmt_p (gimple g)
+@deftypefn {GIMPLE function} bool gimple_debug_begin_stmt_p (gimple g)
 Return true if g is a @code{GIMPLE_DEBUG} that marks the beginning of
 a source statement.
 @end deftypefn
 
-@deftypefn {GIMPLE function} gimple_debug_inline_entry_p (gimple g)
+@deftypefn {GIMPLE function} bool gimple_debug_inline_entry_p (gimple g)
 Return true if g is a @code{GIMPLE_DEBUG} that marks the entry
 point of an inlined function.
 @end deftypefn
 
-@deftypefn {GIMPLE function} gimple_debug_nonbind_marker_p (gimple g)
+@deftypefn {GIMPLE function} bool gimple_debug_nonbind_marker_p (gimple g)
 Return true if g is a @code{GIMPLE_DEBUG} that marks a program location,
 without any variable binding.
 @end deftypefn