mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-27 00:53:23 +01:00
[svn r191] Fixed: array literals did not support all type/storage combinations.
Fixed: with expression had broke somewhere along the way.
This commit is contained in:
@@ -51,6 +51,11 @@ void IrDsymbol::reset()
|
||||
irField = NULL;
|
||||
}
|
||||
|
||||
bool IrDsymbol::isSet()
|
||||
{
|
||||
return (irStruct || irFunc || irGlobal || irLocal || irField);
|
||||
}
|
||||
|
||||
IrVar* IrDsymbol::getIrVar()
|
||||
{
|
||||
assert(irGlobal || irLocal || irField);
|
||||
|
||||
@@ -47,6 +47,8 @@ struct IrDsymbol
|
||||
IrField* irField;
|
||||
IrVar* getIrVar();
|
||||
llvm::Value*& getIrValue();
|
||||
|
||||
bool isSet();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user