3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-07 09:55:20 +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 pool<IdString> &rhs) const { return rhs.count(*this) != 0; }
bool isPublic() { return begins_with("\\"); }
bool isPublic() const { return begins_with("\\"); }
};
namespace ID {