mirror of
https://github.com/YosysHQ/yosys
synced 2025-05-03 13:55:48 +00:00
Cleanup code style and pseudo-private member usage in passes/cmds/select.cc
.
This commit is contained in:
parent
c0a009139b
commit
70093698f5
2 changed files with 160 additions and 162 deletions
|
@ -560,6 +560,7 @@ namespace RTLIL
|
|||
ObjRange(decltype(list_p) list_p, int *refcount_p) : list_p(list_p), refcount_p(refcount_p) { }
|
||||
RTLIL::ObjIterator<T> begin() { return RTLIL::ObjIterator<T>(list_p, refcount_p); }
|
||||
RTLIL::ObjIterator<T> end() { return RTLIL::ObjIterator<T>(); }
|
||||
bool contains(const RTLIL::IdString &what) { return (list_p->count(what) > 0); }
|
||||
|
||||
size_t size() const {
|
||||
return list_p->size();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue