Cthulhu  0.2.10
Cthulhu compiler collection
type.c File Reference
#include "base/util.h"
#include "c89.h"
#include "arena/arena.h"
#include "std/map.h"
#include "std/vector.h"
#include "std/str.h"
#include "std/typed/vector.h"
#include "base/panic.h"
Include dependency graph for type.c:

Go to the source code of this file.

Functions

const char * c89_format_type (c89_emit_t *emit, const ssa_type_t *type, const char *name, type_format_t flags)
 
const char * c89_format_storage (c89_emit_t *emit, ssa_storage_t storage, const char *name, type_format_t flags)
 
const char * c89_format_params (c89_emit_t *emit, typevec_t *params, bool variadic)
 

Function Documentation

◆ c89_format_params()

const char* c89_format_params ( c89_emit_t emit,
typevec_t params,
bool  variadic 
)

Definition at line 142 of file type.c.

◆ c89_format_storage()

const char* c89_format_storage ( c89_emit_t emit,
ssa_storage_t  storage,
const char *  name,
type_format_t  flags 
)

Definition at line 136 of file type.c.

◆ c89_format_type()

const char* c89_format_type ( c89_emit_t emit,
const ssa_type_t type,
const char *  name,
type_format_t  flags 
)

Definition at line 97 of file type.c.