projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c66d1df
)
add IdString::isPublic()
author
N. Engelhardt
<nak@symbioticeda.com>
Thu, 3 Sep 2020 15:37:58 +0000
(17:37 +0200)
committer
N. Engelhardt
<nak@symbioticeda.com>
Thu, 3 Sep 2020 15:37:58 +0000
(17:37 +0200)
kernel/rtlil.h
patch
|
blob
|
history
diff --git
a/kernel/rtlil.h
b/kernel/rtlil.h
index 6c561cb855c460662f885b325adf9b1d0c4f8b9e..a03e8933c599955689d406de9aab1dd1d8b32ecd 100644
(file)
--- a/
kernel/rtlil.h
+++ b/
kernel/rtlil.h
@@
-375,6
+375,8
@@
namespace RTLIL
bool in(const char *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 isPublic() { return begins_with("\\"); }
};
namespace ID {