3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-22 05:36:43 +00:00

Create RTLIL::OwningIdString and use it in a few places

This commit is contained in:
Robert O'Callahan 2025-10-09 23:28:10 +00:00 committed by Emil J. Tywoniak
parent d28f97e9da
commit 5133b4bdea
2 changed files with 13 additions and 2 deletions

View file

@ -42,7 +42,7 @@ std::vector<uint32_t> RTLIL::IdString::global_refcount_storage_;
std::vector<int> RTLIL::IdString::global_free_idx_list_;
#endif
#define X(_id) const RTLIL::IdString RTLIL::IDInternal::_id(RTLIL::StaticId::_id);
#define X(_id) const RTLIL::OwningIdString RTLIL::IDInternal::_id(RTLIL::StaticId::_id);
#include "kernel/constids.inc"
#undef X