From: Alberto Gonzalez Date: Fri, 19 Jun 2020 19:57:09 +0000 (+0000) Subject: glift: Replace `YS_OVERRIDE` with `override`. X-Git-Tag: yosys-0.15~29^2~6 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=20ad37172428ae12378f87540acab55c874530fe;p=yosys.git glift: Replace `YS_OVERRIDE` with `override`. --- diff --git a/passes/cmds/glift.cc b/passes/cmds/glift.cc index eee1b2c79..26fdc4df7 100644 --- a/passes/cmds/glift.cc +++ b/passes/cmds/glift.cc @@ -347,7 +347,7 @@ struct GliftPass : public Pass { GliftPass() : Pass("glift", "create GLIFT models and optimization problems"), opt_create_precise_model(false), opt_create_imprecise_model(false), opt_create_instrumented_model(false), opt_taintconstants(false), opt_keepoutputs(false), opt_simplecostmodel(false), opt_nocostmodel(false), opt_instrumentmore(false), module(nullptr) { } - void help() YS_OVERRIDE + void help() override { // |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---| log("\n"); @@ -433,7 +433,7 @@ struct GliftPass : public Pass { log("\n"); } - void execute(std::vector _args, RTLIL::Design *design) YS_OVERRIDE + void execute(std::vector _args, RTLIL::Design *design) override { log_header(design, "Executing GLIFT pass (creating and manipulating GLIFT models).\n");