GDB (xrefs)
Loading...
Searching...
No Matches
Macros | Functions
compile-c-types.c File Reference
#include "defs.h"
#include "gdbtypes.h"
#include "compile-internal.h"
#include "compile-c.h"
#include "objfiles.h"
#include "gcc-c-fe.def"

Go to the source code of this file.

Macros

#define FORWARD(OP, ...)   m_context->c_ops->OP(m_context, ##__VA_ARGS__)
 
#define GCC_METHOD0(R, N)
 
#define GCC_METHOD1(R, N, A)
 
#define GCC_METHOD2(R, N, A, B)
 
#define GCC_METHOD3(R, N, A, B, C)
 
#define GCC_METHOD4(R, N, A, B, C, D)
 
#define GCC_METHOD5(R, N, A, B, C, D, E)
 
#define GCC_METHOD7(R, N, A, B, C, D, E, F, G)
 

Functions

static gcc_type convert_pointer (compile_c_instance *context, struct type *type)
 
static gcc_type convert_array (compile_c_instance *context, struct type *type)
 
static gcc_type convert_struct_or_union (compile_c_instance *context, struct type *type)
 
static gcc_type convert_enum (compile_c_instance *context, struct type *type)
 
static gcc_type convert_func (compile_c_instance *context, struct type *type)
 
static gcc_type convert_int (compile_c_instance *context, struct type *type)
 
static gcc_type convert_float (compile_c_instance *context, struct type *type)
 
static gcc_type convert_void (compile_c_instance *context, struct type *type)
 
static gcc_type convert_bool (compile_c_instance *context, struct type *type)
 
static gcc_type convert_qualified (compile_c_instance *context, struct type *type)
 
static gcc_type convert_complex (compile_c_instance *context, struct type *type)
 
static gcc_type convert_type_basic (compile_c_instance *context, struct type *type)
 

Macro Definition Documentation

◆ FORWARD

#define FORWARD ( OP,
... )   m_context->c_ops->OP(m_context, ##__VA_ARGS__)

◆ GCC_METHOD0

#define GCC_METHOD0 ( R,
N )
Value:
R gcc_c_plugin::N () const \
{ return FORWARD (N); }
#define FORWARD(OP,...)
#define R(name, type, sim_num)
Definition m32c-tdep.c:731

Definition at line 363 of file compile-c-types.c.

◆ GCC_METHOD1

#define GCC_METHOD1 ( R,
N,
A )
Value:
R gcc_c_plugin::N (A a) const \
{ return FORWARD (N, a); }
@ A
Definition ia64-tdep.c:80

Definition at line 366 of file compile-c-types.c.

◆ GCC_METHOD2

#define GCC_METHOD2 ( R,
N,
A,
B )
Value:
R gcc_c_plugin::N (A a, B b) const \
{ return FORWARD (N, a, b); }
@ B

Definition at line 369 of file compile-c-types.c.

◆ GCC_METHOD3

#define GCC_METHOD3 ( R,
N,
A,
B,
C )
Value:
R gcc_c_plugin::N (A a, B b, C c) const \
{ return FORWARD (N, a, b, c); }

Definition at line 372 of file compile-c-types.c.

◆ GCC_METHOD4

#define GCC_METHOD4 ( R,
N,
A,
B,
C,
D )
Value:
R gcc_c_plugin::N (A a, B b, C c, D d) const \
{ return FORWARD (N, a, b, c, d); }

Definition at line 375 of file compile-c-types.c.

◆ GCC_METHOD5

#define GCC_METHOD5 ( R,
N,
A,
B,
C,
D,
E )
Value:
R gcc_c_plugin::N (A a, B b, C c, D d, E e) const \
{ return FORWARD (N, a, b, c, d, e); }

Definition at line 378 of file compile-c-types.c.

◆ GCC_METHOD7

#define GCC_METHOD7 ( R,
N,
A,
B,
C,
D,
E,
F,
G )
Value:
R gcc_c_plugin::N (A a, B b, C c, D d, E e, F f, G g) const \
{ return FORWARD (N, a, b, c, d, e, f, g); }
void f()
Definition 1.cc:36
@ F
Definition ia64-tdep.c:83
#define G(reg)
Definition m32c-tdep.c:796

Definition at line 381 of file compile-c-types.c.

Function Documentation

◆ convert_array()

static gcc_type convert_array ( compile_c_instance * context,
struct type * type )
static

◆ convert_bool()

static gcc_type convert_bool ( compile_c_instance * context,
struct type * type )
static

Definition at line 231 of file compile-c-types.c.

References compile_c_instance::plugin().

Referenced by convert_type_basic().

◆ convert_complex()

static gcc_type convert_complex ( compile_c_instance * context,
struct type * type )
static

◆ convert_enum()

static gcc_type convert_enum ( compile_c_instance * context,
struct type * type )
static

◆ convert_float()

static gcc_type convert_float ( compile_c_instance * context,
struct type * type )
static

◆ convert_func()

static gcc_type convert_func ( compile_c_instance * context,
struct type * type )
static

◆ convert_int()

static gcc_type convert_int ( compile_c_instance * context,
struct type * type )
static

◆ convert_pointer()

static gcc_type convert_pointer ( compile_c_instance * context,
struct type * type )
static

◆ convert_qualified()

static gcc_type convert_qualified ( compile_c_instance * context,
struct type * type )
static

◆ convert_struct_or_union()

static gcc_type convert_struct_or_union ( compile_c_instance * context,
struct type * type )
static

◆ convert_type_basic()

static gcc_type convert_type_basic ( compile_c_instance * context,
struct type * type )
static

◆ convert_void()

static gcc_type convert_void ( compile_c_instance * context,
struct type * type )
static

Definition at line 223 of file compile-c-types.c.

References compile_c_instance::plugin().

Referenced by convert_type_basic().