aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2015-04-09 19:54:49 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2015-04-09 19:54:49 +0000
commit51c5c6b5d82999d8cec629e8aabf26d5d890146a (patch)
treeed5bb52822292d1ac35600a4cf1cfab722dfae27 /gcc
parentf66d8ec8cad7d28d81b3ce55af92fb0169f8edeb (diff)
downloadgcc-51c5c6b5d82999d8cec629e8aabf26d5d890146a.zip
gcc-51c5c6b5d82999d8cec629e8aabf26d5d890146a.tar.gz
gcc-51c5c6b5d82999d8cec629e8aabf26d5d890146a.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/jit/ChangeLog9
-rw-r--r--gcc/jit/docs/_build/texinfo/libgccjit.texi6
-rw-r--r--gcc/jit/docs/cp/topics/expressions.rst2
-rw-r--r--gcc/jit/docs/topics/expressions.rst2
4 files changed, 14 insertions, 5 deletions
diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog
index 4c02a3f..b393caf 100644
--- a/gcc/jit/ChangeLog
+++ b/gcc/jit/ChangeLog
@@ -1,3 +1,12 @@
+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>
* jit-recording.c (dump::write): Also check vasprintf return value.
diff --git a/gcc/jit/docs/_build/texinfo/libgccjit.texi b/gcc/jit/docs/_build/texinfo/libgccjit.texi
index 1ea0a82..ac53035 100644
--- a/gcc/jit/docs/_build/texinfo/libgccjit.texi
+++ b/gcc/jit/docs/_build/texinfo/libgccjit.texi
@@ -19,7 +19,7 @@
@copying
@quotation
-libgccjit 5.0.0 (experimental 20150313), March 13, 2015
+libgccjit 5.0.0 (experimental 20150409), April 09, 2015
David Malcolm
@@ -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)
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
gcc_jit_context_new_rvalue_from_int (ctxt, numeric_type, 1)
@@ -12012,7 +12012,7 @@ ctxt.new_rvalue (numeric_type, 0)
@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
-zero. Essentially this is just a shortcut for:
+one. Essentially this is just a shortcut for:
@example
ctxt.new_rvalue (numeric_type, 1)
diff --git a/gcc/jit/docs/cp/topics/expressions.rst b/gcc/jit/docs/cp/topics/expressions.rst
index bacfde1..4ea2622 100644
--- a/gcc/jit/docs/cp/topics/expressions.rst
+++ b/gcc/jit/docs/cp/topics/expressions.rst
@@ -80,7 +80,7 @@ Simple expressions
gccjit::context::one (gccjit::type numeric_type) const
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++
diff --git a/gcc/jit/docs/topics/expressions.rst b/gcc/jit/docs/topics/expressions.rst
index 49317b9..621991f 100644
--- a/gcc/jit/docs/topics/expressions.rst
+++ b/gcc/jit/docs/topics/expressions.rst
@@ -84,7 +84,7 @@ Simple expressions
gcc_jit_type *numeric_type)
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