]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/doc/gccint/gimple/tuple-specific-accessors/gimplecatch.rst
sphinx: add missing trailing newline
[thirdparty/gcc.git] / gcc / doc / gccint / gimple / tuple-specific-accessors / gimplecatch.rst
1 ..
2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
5
6 .. index:: GIMPLE_CATCH
7
8 GIMPLE_CATCH
9 ^^^^^^^^^^^^
10
11 .. function:: gcatch *gimple_build_catch (tree types, gimple_seq handler)
12
13 Build a ``GIMPLE_CATCH`` statement. ``TYPES`` are the tree types this
14 catch handles. ``HANDLER`` is a sequence of statements with the code
15 for the handler.
16
17 .. function:: tree gimple_catch_types (const gcatch *g)
18
19 Return the types handled by ``GIMPLE_CATCH`` statement ``G``.
20
21 .. function:: tree * gimple_catch_types_ptr (gcatch *g)
22
23 Return a pointer to the types handled by ``GIMPLE_CATCH`` statement
24 ``G``.
25
26 .. function:: gimple_seq gimple_catch_handler (gcatch *g)
27
28 Return the GIMPLE sequence representing the body of the handler
29 of ``GIMPLE_CATCH`` statement ``G``.
30
31 .. function:: void gimple_catch_set_types (gcatch *g, tree t)
32
33 Set ``T`` to be the set of types handled by ``GIMPLE_CATCH`` ``G``.
34
35 .. function:: void gimple_catch_set_handler (gcatch *g, gimple_seq handler)
36
37 Set ``HANDLER`` to be the body of ``GIMPLE_CATCH`` ``G``.