mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Initial work on throws. Cleanup of AST printout (incomplete!). Fixed issues with dead code after return.
This commit is contained in:
@@ -9,6 +9,7 @@ static inline LLVMMetadataRef gencontext_create_debug_type_from_decl(GenContext
|
||||
static LLVMMetadataRef debug_params[512];
|
||||
switch (decl->decl_kind)
|
||||
{
|
||||
case DECL_THROWS:
|
||||
case DECL_ATTRIBUTE:
|
||||
case DECL_ENUM_CONSTANT:
|
||||
case DECL_POISONED:
|
||||
@@ -165,6 +166,8 @@ LLVMMetadataRef gencontext_get_debug_type(GenContext *context, Type *type)
|
||||
break;
|
||||
case TYPE_SUBARRAY:
|
||||
break;
|
||||
case TYPE_ERROR_UNION:
|
||||
TODO
|
||||
}
|
||||
TODO
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user