Cthulhu  0.2.10
Cthulhu compiler collection
driver.h
Go to the documentation of this file.
1 // SPDX-License-Identifier: GPL-3.0-only
2 
3 #pragma once
4 
5 #include "notify/notify.h" // IWYU pragma: keep
6 
8 typedef struct compile_unit_t compile_unit_t;
9 typedef struct tree_t tree_t;
10 
11 void ctu_init(language_runtime_t *runtime, tree_t *root);
12 
16 
17 #define NEW_EVENT(name, ...) extern const diagnostic_t kEvent_##name;
18 #include "ctu.inc"
void ctu_forward_decls(language_runtime_t *runtime, compile_unit_t *unit)
Definition: driver.c:31
void ctu_process_imports(language_runtime_t *runtime, compile_unit_t *unit)
Definition: driver.c:100
void ctu_compile_module(language_runtime_t *runtime, compile_unit_t *unit)
void ctu_init(language_runtime_t *runtime, tree_t *root)
Definition: driver.c:26
Definition: tree.h:67