mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Handle zero-sized enums (<= 1 member)
This commit is contained in:
parent
7b69509b7b
commit
14a3dd8e7d
21 changed files with 461 additions and 135 deletions
|
@ -2401,6 +2401,24 @@ public:
|
|||
virtual int GetGenericDepth() override { return mGenericDepth; }
|
||||
};
|
||||
|
||||
class BfTagType : public BfTypeInstance
|
||||
{
|
||||
public:
|
||||
bool mCreatedTypeDef;
|
||||
String mNameAdd;
|
||||
BfSource* mSource;
|
||||
|
||||
public:
|
||||
BfTagType();
|
||||
~BfTagType();
|
||||
|
||||
void Init(BfProject* bfProject, BfTypeInstance* valueTypeInstance, const StringImpl& name);
|
||||
virtual void Dispose() override;
|
||||
void Finish();
|
||||
|
||||
virtual bool IsOnDemand() override { return true; }
|
||||
};
|
||||
|
||||
class BfConcreteInterfaceType : public BfType
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue