| 117 | } |
| 118 | |
| 119 | virtual void rename_module(const std::string& old_name, const std::string& new_name) override |
| 120 | { |
| 121 | assert(prog); |
| 122 | assert(mod); |
| 123 | assert( |
| 124 | any_of(mod->get_sub_modules(), [&](module_ref sm) { return sm->name() == old_name; })); |
| 125 | prog->rename_module(old_name, new_name); |
| 126 | } |
| 127 | |
| 128 | virtual module* get_common_parent() override { return common_parent; } |
| 129 |
nothing calls this directly
no test coverage detected