In ansi_c:
authorNick Downing <nick@ndcode.org>
Thu, 7 Dec 2023 23:36:31 +0000 (10:36 +1100)
committerNick Downing <nick@ndcode.org>
Thu, 7 Dec 2023 23:36:31 +0000 (10:36 +1100)
commit30bc90adf58250e95857191911d5cf87b18e7f7a
tree9d01e383ad3fd00a43611e80e781657a152199a7
parent8ade567440672f7f333581fe14015e579313fe81
In ansi_c:
* Add type analysis for initializers, add some extra (s)size_t and bool casts
* Remove rough Expression.get_const_value() in favour of Expression.value
* For array of indeterminate size with initializer, deduce the size
* Add TagIdentifier class and extra annotations for array or struct/union indices
* Support array or struct/union literals in expressions
* Add the Node.strip_redundancy() method, removes all text, declarators, etc
ansi_c