3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-09-12 04:31:29 +00:00
yosys/passes
Jannis Harder b6db32873d Add IdString const &id_string() const to StaticIdString and IdString
The vast majority of ID(...) uses are in a context that is overloaded
for StaticIdString or will cause implicit conversion to an IdString
constant reference. For some sufficently overloaded contexts, implicit
conversion may fail, so it's useful to have a method to force obtaining
a `IdString const &` from an ID(...) use.

When turning all literal IdStrings of the codebase into StaticIdStrings
this was needed in exactly one place, for which this commit adds an
`id_string()` call.
2025-09-09 09:56:55 +12:00
..
cmds Add IdString const &id_string() const to StaticIdString and IdString 2025-09-09 09:56:55 +12:00
equiv equiv_simple: Avoid std::array 2025-08-08 12:37:38 +12:00
fsm Remove .c_str() from stringf parameters 2025-09-01 23:34:42 +00:00
hierarchy Remove .c_str() from stringf parameters 2025-09-01 23:34:42 +00:00
memory Remove .c_str() from stringf parameters 2025-09-01 23:34:42 +00:00
opt Merge pull request #5323 from rocallahan/IdString-references 2025-09-08 20:40:24 +02:00
pmgen Reapply "Add groups to command reference" 2025-08-06 13:52:12 +12:00
proc Remove .c_str() from stringf parameters 2025-09-01 23:34:42 +00:00
sat Remove .c_str() from stringf parameters 2025-09-01 23:34:42 +00:00
techmap Merge pull request #5304 from rocallahan/idstring-stringf 2025-09-08 20:29:20 +02:00
tests Remove .c_str() from stringf parameters 2025-09-01 23:34:42 +00:00