Testsuite: fix analyzer tests on Darwin
[official-gcc.git] / gcc / jit / docs / index.rst
bloba2aa3d6435dbf93974a48e40c4e589d33960bd2f
1 .. Copyright (C) 2014-2023 Free Software Foundation, Inc.
2    Originally contributed by David Malcolm <dmalcolm@redhat.com>
4    This is free software: you can redistribute it and/or modify it
5    under the terms of the GNU General Public License as published by
6    the Free Software Foundation, either version 3 of the License, or
7    (at your option) any later version.
9    This program is distributed in the hope that it will be useful, but
10    WITHOUT ANY WARRANTY; without even the implied warranty of
11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12    General Public License for more details.
14    You should have received a copy of the GNU General Public License
15    along with this program.  If not, see
16    <https://www.gnu.org/licenses/>.
18 libgccjit
19 =========
21 This document describes `libgccjit <https://gcc.gnu.org/wiki/JIT>`_, an API
22 for embedding GCC inside programs and libraries.
24 There are actually two APIs for the library:
26 * a pure C API: ``libgccjit.h``
28 * a C++ wrapper API: ``libgccjit++.h``.  This is a collection of "thin"
29   wrapper classes around the C API, to save typing.
31 Contents:
33 .. toctree::
34    :maxdepth: 2
36    intro/index.rst
37    topics/index.rst
38    cp/index.rst
39    internals/index.rst
42 Indices and tables
43 ==================
45 * :ref:`genindex`
46 * :ref:`search`