3.2.4.1 Rvalues

C++ Class: gccjit::rvalue

A gccjit;;rvalue is an expression that can be computed. It is a subclass of gccjit;;object, and is a thin wrapper around gcc_jit_rvalue * from the C API.

It can be simple, e.g.:

or compound e.g.:

Every rvalue has an associated type, and the API will check to ensure that types match up correctly (otherwise the context will emit an error).

C++ Function: gccjit::type gccjit::rvalue::get_type ()

Get the type of this rvalue.