3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-13 04:28:18 +00:00

kernel: make IdString::isPublic() const.

This commit is contained in:
whitequark 2020-12-12 20:50:37 +00:00
parent d1b7007e59
commit 080f311040

View file

@ -376,7 +376,7 @@ namespace RTLIL
bool in(const std::string &rhs) const { return *this == rhs; } bool in(const std::string &rhs) const { return *this == rhs; }
bool in(const pool<IdString> &rhs) const { return rhs.count(*this) != 0; } bool in(const pool<IdString> &rhs) const { return rhs.count(*this) != 0; }
bool isPublic() { return begins_with("\\"); } bool isPublic() const { return begins_with("\\"); }
}; };
namespace ID { namespace ID {