- Notifications
You must be signed in to change notification settings - Fork 1
Generalize AST Flags to a single 4-byte flag #42
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestsimplificationSimplifying the librarySimplifying the library
Milestone
Description
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestsimplificationSimplifying the librarySimplifying the library
Projects
StatusShow more project fields
Todo
Right now there is:
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 : u32This would leave open the ability for others to add their own flags without much hassle.