]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/jit/docs/cp/topics/contexts.rst
jit,docs: various fixes
authormarxin <mliska@suse.cz>
Mon, 25 Jul 2022 09:15:25 +0000 (11:15 +0200)
committerMartin Liska <mliska@suse.cz>
Thu, 28 Jul 2022 10:37:03 +0000 (12:37 +0200)
commita8a282d5202f3e3305bd5f4b40adc0ce743c9b98
treece48b0756ea290dcd88481868c9a4b1b960964ac
parent68c994f9aa8a60e69d080693f0cbef119ab65886
jit,docs: various fixes

gcc/jit/ChangeLog:

* docs/cp/intro/tutorial02.rst: Use proper reference.
* docs/cp/topics/contexts.rst: Likewise.
* docs/cp/topics/functions.rst: Put `class` directive before a
function as it is not allowed declaring a class in a fn.
* docs/cp/topics/types.rst: Add template keyword.
* docs/examples/tut04-toyvm/toyvm.c (toyvm_function_compile):
Add removed comment used for code snippet ending detection.
* docs/intro/tutorial04.rst: Fix to match the real comment.
gcc/jit/docs/cp/intro/tutorial02.rst
gcc/jit/docs/cp/topics/contexts.rst
gcc/jit/docs/cp/topics/functions.rst
gcc/jit/docs/cp/topics/types.rst
gcc/jit/docs/examples/tut04-toyvm/toyvm.c
gcc/jit/docs/intro/tutorial04.rst