-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or requestsimplificationSimplifying the librarySimplifying the library
Milestone
Description
Right now there is:
ModuleFlag ModuleFlags;
union {
b32 IsFunction; // Used by typedef to not serialize the name field.
b32 IsParamPack; // Used by typename to know if type should be considered a parameter pack.
OperatorT Op;
AccessSpec ParentAccess;
s32 NumEntries;
};At the end of the AST data layout. We can simplify the layout to:
CodeFlag CodeFlags;
union {
OperatorT Op;
AccessSpec ParentAccess;
s32 NumEntries;
};Where CodeFlag is an enum : u32
This would leave open the ability for others to add their own flags without much hassle.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestsimplificationSimplifying the librarySimplifying the library
Projects
Status
Todo