Commit 51c5c6b5 by David Malcolm Committed by David Malcolm

PR jit/65691: Fix copy&paste error in docs

gcc/jit/ChangeLog:
	PR jit/65691
	* docs/cp/topics/expressions.rst (Simple expressions): Fix copy
	and paste error in description of gccjit::context::one.
	* docs/topics/expressions.rst (Simple expressions): Likewise in
	description of gcc_jit_context_one.
	* docs/_build/texinfo/libgccjit.texi: Regenerate.

From-SVN: r221959
parent f66d8ec8
2015-04-09 David Malcolm <dmalcolm@redhat.com>
PR jit/65691
* docs/cp/topics/expressions.rst (Simple expressions): Fix copy
and paste error in description of gccjit::context::one.
* docs/topics/expressions.rst (Simple expressions): Likewise in
description of gcc_jit_context_one.
* docs/_build/texinfo/libgccjit.texi: Regenerate.
2015-03-13 Uros Bizjak <ubizjak@gmail.com> 2015-03-13 Uros Bizjak <ubizjak@gmail.com>
* jit-recording.c (dump::write): Also check vasprintf return value. * jit-recording.c (dump::write): Also check vasprintf return value.
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
@copying @copying
@quotation @quotation
libgccjit 5.0.0 (experimental 20150313), March 13, 2015 libgccjit 5.0.0 (experimental 20150409), April 09, 2015
David Malcolm David Malcolm
...@@ -6182,7 +6182,7 @@ gcc_jit_context_new_rvalue_from_int (ctxt, numeric_type, 0) ...@@ -6182,7 +6182,7 @@ gcc_jit_context_new_rvalue_from_int (ctxt, numeric_type, 0)
@deffn {C Function} gcc_jit_rvalue *gcc_jit_context_one (gcc_jit_context@w{ }*ctxt, gcc_jit_type@w{ }*numeric_type) @deffn {C Function} gcc_jit_rvalue *gcc_jit_context_one (gcc_jit_context@w{ }*ctxt, gcc_jit_type@w{ }*numeric_type)
Given a numeric type (integer or floating point), get the rvalue for Given a numeric type (integer or floating point), get the rvalue for
zero. Essentially this is just a shortcut for: one. Essentially this is just a shortcut for:
@example @example
gcc_jit_context_new_rvalue_from_int (ctxt, numeric_type, 1) gcc_jit_context_new_rvalue_from_int (ctxt, numeric_type, 1)
...@@ -12012,7 +12012,7 @@ ctxt.new_rvalue (numeric_type, 0) ...@@ -12012,7 +12012,7 @@ ctxt.new_rvalue (numeric_type, 0)
@deffn {C++ Function} gccjit::rvalue gccjit::context::one (gccjit::type numeric_type) const @deffn {C++ Function} gccjit::rvalue gccjit::context::one (gccjit::type numeric_type) const
Given a numeric type (integer or floating point), get the rvalue for Given a numeric type (integer or floating point), get the rvalue for
zero. Essentially this is just a shortcut for: one. Essentially this is just a shortcut for:
@example @example
ctxt.new_rvalue (numeric_type, 1) ctxt.new_rvalue (numeric_type, 1)
......
...@@ -80,7 +80,7 @@ Simple expressions ...@@ -80,7 +80,7 @@ Simple expressions
gccjit::context::one (gccjit::type numeric_type) const gccjit::context::one (gccjit::type numeric_type) const
Given a numeric type (integer or floating point), get the rvalue for Given a numeric type (integer or floating point), get the rvalue for
zero. Essentially this is just a shortcut for: one. Essentially this is just a shortcut for:
.. code-block:: c++ .. code-block:: c++
......
...@@ -84,7 +84,7 @@ Simple expressions ...@@ -84,7 +84,7 @@ Simple expressions
gcc_jit_type *numeric_type) gcc_jit_type *numeric_type)
Given a numeric type (integer or floating point), get the rvalue for Given a numeric type (integer or floating point), get the rvalue for
zero. Essentially this is just a shortcut for: one. Essentially this is just a shortcut for:
.. code-block:: c .. code-block:: c
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment