mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-08-02 20:40:05 +02:00
Introducing opaque type to dmd frontent to be used with certain runtime array
and aa args and returns. There are still some bugs with aas.
This commit is contained in:
@@ -157,6 +157,10 @@ const LLType* DtoType(Type* t)
|
||||
return getPtrToType(LLStructType::get(DtoType(taa->key), DtoType(taa->next), 0));
|
||||
}
|
||||
|
||||
// opaque type
|
||||
case Topaque:
|
||||
return llvm::OpaqueType::get();
|
||||
|
||||
default:
|
||||
printf("trying to convert unknown type with value %d\n", t->ty);
|
||||
assert(0);
|
||||
|
||||
Reference in New Issue
Block a user