projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1b7007
)
kernel: make IdString::isPublic() const.
author
whitequark
<whitequark@whitequark.org>
Sat, 12 Dec 2020 20:50:37 +0000
(20:50 +0000)
committer
whitequark
<whitequark@whitequark.org>
Sat, 12 Dec 2020 20:50:44 +0000
(20:50 +0000)
kernel/rtlil.h
patch
|
blob
|
history
diff --git
a/kernel/rtlil.h
b/kernel/rtlil.h
index a03e8933c599955689d406de9aab1dd1d8b32ecd..cd966b815222440601e25db982cee9aaadf3850f 100644
(file)
--- a/
kernel/rtlil.h
+++ b/
kernel/rtlil.h
@@
-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 {