Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-04-27 | init: Allow string literal initializers to be in braces | Michael Forney | |
2019-04-24 | Use a common member for expression base | Michael Forney | |
2019-04-21 | Keep track of type properties in type | Michael Forney | |
2019-04-17 | Implement bit-field initializers | Michael Forney | |
2019-04-15 | init: Remove some unused includes | Michael Forney | |
2019-04-15 | init: Improve parseinit performance for sequential initializers | Michael Forney | |
Now, we only traverse the current initializer list to find the place to insert a designated initializer. Regular initializers always go after the previous one. Fixes #37. | |||
2019-04-14 | init: Error on bit-field initializers for now | Michael Forney | |
2019-04-06 | Track type qualifiers separately | Michael Forney | |
Using a special qualified type kind has a number of problems: - Important fields such as size, align, and incomplete may not be set, since the qualified type was created before a struct was completed. - When we don't care about type qualifiers (which is the usual case), we have to explicitly unqualify the type which is annoying and error-prone. Instead, in derived types, keep track of the qualifiers of the base type alongside the base type (similar to what is done for members, parameters, declarations, and expressions in the past few commits). | |||
2019-04-05 | expr: Use separate fields for lvalue and decayed instead of flags | Michael Forney | |
2019-04-04 | Merge headers into cc.h | Michael Forney | |
2019-03-15 | Start to handle overlapping initializers | Michael Forney | |
2019-03-14 | Abbreviate tag names | Michael Forney | |
2019-03-12 | Allow string literals to initialize any array with character type | Michael Forney | |
2019-03-01 | init: Check for incomplete types | Michael Forney | |
Fixes #28. | |||
2019-02-24 | Check for negative array lengths/indices | Michael Forney | |
2019-02-22 | Fix size of incomplete array types initialized with strings | Michael Forney | |
updatearray takes an index, so was allocating an extra byte. | |||
2019-02-20 | Remove some unused variables | Michael Forney | |
2019-02-15 | Some small cleanups | Michael Forney | |
2019-02-15 | Don't embed anonymous struct members into parent | Michael Forney | |
While this works nicely for structs, when unions are involved it makes it impossible to find the next member to initialize without keeping track of extra data per member. | |||
2019-02-15 | Fix some potential uninitialized fields | Michael Forney | |
2019-02-14 | Allow initializing array with longer strings | Michael Forney | |
2019-02-13 | Ignore qualifiers when parsing initializers | Michael Forney | |
2019-02-12 | Initial import | Michael Forney | |