Emilio Cobos Álvarez
305ccfe746
constant: Make const.allow_constexpr default to true.
2022-04-21 18:48:00 +02:00
Emilio Cobos Álvarez
15e1131160
constant: Allow more constexpr constants.
2022-04-21 18:48:00 +02:00
Vadim Petrochenkov
aeb69bcc69
Switch default sorting order for items to "None"
2020-10-05 19:57:33 +02:00
Kartikaya Gupta
5f6b223237
Add ostream header to all generated .cpp files.
...
Ideally we'd just do this when we need it, but the ostream derivation
will be controlled by both global config and per-structure config, so
it's hard to know exactly when we need it and when we don't.
2020-10-01 12:22:51 +02:00
Emilio Cobos Álvarez
b6c2f3c59d
constant: Fix the interaction of allow_constexpr and inline consts.
2020-03-03 21:10:47 +01:00
AlaskanEmily
462871695d
Add option to output constexpr generated constant primitive values
...
This is controlled by the [const] allow_constexpr option, similar to the
allow_static_const option.
It's only applied to primitives currently.
2020-03-03 20:46:12 +01:00