mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
Added "distinct" types.
This commit is contained in:
committed by
Christoffer Lerno
parent
3a24fbfa6d
commit
7fc12192f4
@@ -615,6 +615,7 @@ void llvm_emit_extern_decl(GenContext *context, Decl *decl)
|
||||
{
|
||||
case DECL_POISONED:
|
||||
case DECL_TYPEDEF:
|
||||
case DECL_DISTINCT:
|
||||
UNREACHABLE;
|
||||
case DECL_FUNC:
|
||||
decl->backend_ref = LLVMAddFunction(context->module, decl->cname ?: decl->external_name,
|
||||
|
||||
Reference in New Issue
Block a user