Re: [PATCH 4/7] jit,docs: compact function declarations

2022-07-25 Thread David Malcolm via Gcc-patches
On Mon, 2022-07-25 at 11:51 +0200, Martin Liska wrote:
> gcc/jit/ChangeLog:
> 
> * docs/cp/topics/expressions.rst: Compact so that the
> generated
> output is also more compact.

OK; thanks

Dave



[PATCH 4/7] jit,docs: compact function declarations

2022-07-25 Thread Martin Liska
gcc/jit/ChangeLog:

* docs/cp/topics/expressions.rst: Compact so that the generated
output is also more compact.
---
 gcc/jit/docs/cp/topics/expressions.rst | 42 +-
 1 file changed, 14 insertions(+), 28 deletions(-)

diff --git a/gcc/jit/docs/cp/topics/expressions.rst 
b/gcc/jit/docs/cp/topics/expressions.rst
index 003dbce8991..dec5b477811 100644
--- a/gcc/jit/docs/cp/topics/expressions.rst
+++ b/gcc/jit/docs/cp/topics/expressions.rst
@@ -236,48 +236,39 @@ operation:
   gccjit::context::new_plus (gccjit::type result_type, \
  gccjit::rvalue a, gccjit::rvalue b, \
  gccjit::location loc)
-
-.. function:: gccjit::rvalue \
+  gccjit::rvalue \
   gccjit::context::new_minus (gccjit::type result_type, \
   gccjit::rvalue a, gccjit::rvalue b, \
   gccjit::location loc)
-
-.. function:: gccjit::rvalue \
+  gccjit::rvalue \
   gccjit::context::new_mult (gccjit::type result_type, \
  gccjit::rvalue a, gccjit::rvalue b, \
  gccjit::location loc)
-
-.. function:: gccjit::rvalue \
+  gccjit::rvalue \
   gccjit::context::new_divide (gccjit::type result_type, \
gccjit::rvalue a, gccjit::rvalue b, 
\
gccjit::location loc)
-
-.. function:: gccjit::rvalue \
+  gccjit::rvalue \
   gccjit::context::new_modulo (gccjit::type result_type, \
gccjit::rvalue a, gccjit::rvalue b, 
\
gccjit::location loc)
-
-.. function:: gccjit::rvalue \
+  gccjit::rvalue \
   gccjit::context::new_bitwise_and (gccjit::type result_type, \
 gccjit::rvalue a, 
gccjit::rvalue b, \
 gccjit::location loc)
-
-.. function:: gccjit::rvalue \
+  gccjit::rvalue \
   gccjit::context::new_bitwise_xor (gccjit::type result_type, \
 gccjit::rvalue a, 
gccjit::rvalue b, \
 gccjit::location loc)
-
-.. function:: gccjit::rvalue \
+  gccjit::rvalue \
   gccjit::context::new_bitwise_or (gccjit::type result_type, \
gccjit::rvalue a, 
gccjit::rvalue b, \
gccjit::location loc)
-
-.. function:: gccjit::rvalue \
+  gccjit::rvalue \
   gccjit::context::new_logical_and (gccjit::type result_type, \
 gccjit::rvalue a, 
gccjit::rvalue b, \
 gccjit::location loc)
-
-.. function:: gccjit::rvalue \
+  gccjit::rvalue \
   gccjit::context::new_logical_or (gccjit::type result_type, \
gccjit::rvalue a, 
gccjit::rvalue b, \
gccjit::location loc)
@@ -375,24 +366,19 @@ operation:
 .. function:: gccjit::rvalue \
   gccjit::context::new_eq (gccjit::rvalue a, gccjit::rvalue b, \
gccjit::location loc)
-
-.. function:: gccjit::rvalue \
+  gccjit::rvalue \
   gccjit::context::new_ne (gccjit::rvalue a, gccjit::rvalue b, \
gccjit::location loc)
-
-.. function:: gccjit::rvalue \
+  gccjit::rvalue \
   gccjit::context::new_lt (gccjit::rvalue a, gccjit::rvalue b, \
gccjit::location loc)
-
-.. function:: gccjit::rvalue \
+  gccjit::rvalue \
   gccjit::context::new_le (gccjit::rvalue a, gccjit::rvalue b, \
gccjit::location loc)
-
-.. function:: gccjit::rvalue \
+  gccjit::rvalue \
   gccjit::context::new_gt (gccjit::rvalue a, gccjit::rvalue b, \
gccjit::location loc)
-
-.. function:: gccjit::rvalue \
+  gccjit::rvalue \
   gccjit::context::new_ge (gccjit::rvalue a, gccjit::rvalue b, \
gccjit::location loc)
 
-- 
2.37.1