20 Commits

Author SHA1 Message Date
Rob Bocchino
129aeaa8c6 Revise array code gen
Pass initializer list by reference in constructor

This seems to help the compiler disambiguate constructor arguments
in some cases
2025-08-19 15:09:13 -07:00
Rob Bocchino
ea5486c3a3 Revise code generation for arrays
Remove multi-element constructor
Use initializer list constructor instead
2025-08-19 14:52:29 -07:00
Rob Bocchino
71163724f8 Revise array code gen
Add initializer list constructor
2025-08-19 13:31:14 -07:00
Rob Bocchino
413e2a8e44 Revise array code gen
Use the single-value constructor when all the element values
are the same
2025-08-19 13:21:42 -07:00
Rob Bocchino
597935d1cc Revise array code gen
Use FwSizeType instead of U32 for indices
Add operator= with initializer list
2025-08-19 08:38:09 -07:00
Rob Bocchino
48c31f571a Revise array code gen 2025-08-18 17:46:51 -07:00
Rob Bocchino
1b882aa8db
Merge branch 'main' into tumbar-serialize-deprecated 2025-08-01 09:47:18 -07:00
Andrei Tumbar
faa74d6316 Deprecate serialize/deserialize in favor of [de]serialize[From/To] 2025-07-30 19:16:59 -07:00
jawest
c52306a06f Regen fpp-to-cpp test ref files 2025-07-30 10:17:04 -07:00
Andrei Tumbar
036512c9c5 Array toString() with loop 2025-05-15 15:08:34 -07:00
Rob Bocchino
21bf12f4f7 Revert changes to C++ code gen 2024-06-20 08:22:22 -07:00
Justine West
3dcc43dfdb update test ref files 2024-06-18 16:32:39 -07:00
Justine West
e8ad293e5e updated fpp-to-cpp test ref files 2024-06-18 11:58:36 -07:00
Rob Bocchino
9c09863a9d Revise array code gen 2024-05-10 14:15:40 -07:00
Rob Bocchino
f706e977bb Revise C++ code gen
Remove unused header includes
2024-05-01 10:06:16 -07:00
Rob Bocchino
edc3ce9b96 Revise string code gen for arrays 2024-04-30 14:15:53 -07:00
Simone Morettini
d384d0464b Add index and size of array when asserting index is smaller than the size 2023-12-19 13:01:41 +00:00
Tiffany Chieu
2729384d12 Update unit tests 2023-08-02 12:46:04 -07:00
Tiffany Chieu
7bb1e9ba39 Fix conditional compilation of toString function in generated array code 2023-08-01 12:10:54 -07:00
tiffany1618
19e167a35d Add unit test for include header path for C++ writer 2022-11-04 16:51:27 -07:00