Cthulhu  0.2.10
Cthulhu compiler collection
driver.h File Reference
#include "notify/notify.h"
#include "ctu.inc"
Include dependency graph for driver.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NEW_EVENT(name, ...)   extern const diagnostic_t kEvent_##name;
 

Functions

void ctu_init (language_runtime_t *runtime, tree_t *root)
 
void ctu_forward_decls (language_runtime_t *runtime, compile_unit_t *unit)
 
void ctu_process_imports (language_runtime_t *runtime, compile_unit_t *unit)
 
void ctu_compile_module (language_runtime_t *runtime, compile_unit_t *unit)
 

Macro Definition Documentation

◆ NEW_EVENT

#define NEW_EVENT (   name,
  ... 
)    extern const diagnostic_t kEvent_##name;

Definition at line 17 of file driver.h.

Function Documentation

◆ ctu_compile_module()

void ctu_compile_module ( language_runtime_t runtime,
compile_unit_t unit 
)

◆ ctu_forward_decls()

void ctu_forward_decls ( language_runtime_t runtime,
compile_unit_t unit 
)

Definition at line 31 of file driver.c.

◆ ctu_init()

void ctu_init ( language_runtime_t runtime,
tree_t root 
)

init

Definition at line 26 of file driver.c.

◆ ctu_process_imports()

void ctu_process_imports ( language_runtime_t runtime,
compile_unit_t unit 
)

Definition at line 100 of file driver.c.