3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-31 00:13:18 +00:00

Merge pull request #5112 from YosysHQ/krys/on_shutdown

design.cc: Use on_shutdown method
This commit is contained in:
KrystalDelusion 2025-05-16 09:22:39 +12:00 committed by GitHub
commit 3a5ce2df64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -29,6 +29,7 @@ struct Pass
{
std::string pass_name, short_help;
Pass(std::string name, std::string short_help = "** document me **");
// Prefer overriding 'Pass::on_shutdown()' if possible
virtual ~Pass();
virtual void help();