From 7191dd16f9d486fbe107b2c24d1858c8f88329b3 Mon Sep 17 00:00:00 2001 From: whitequark Date: Thu, 18 Jun 2020 23:34:52 +0000 Subject: Use C++11 final/override keywords. --- passes/opt/wreduce.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'passes/opt/wreduce.cc') diff --git a/passes/opt/wreduce.cc b/passes/opt/wreduce.cc index f60f2f8a8..8ce2fd478 100644 --- a/passes/opt/wreduce.cc +++ b/passes/opt/wreduce.cc @@ -482,7 +482,7 @@ struct WreduceWorker struct WreducePass : public Pass { WreducePass() : Pass("wreduce", "reduce the word size of operations if possible") { } - void help() YS_OVERRIDE + void help() override { // |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---| log("\n"); @@ -505,7 +505,7 @@ struct WreducePass : public Pass { log(" Do not optimize explicit don't-care values.\n"); log("\n"); } - void execute(std::vector args, Design *design) YS_OVERRIDE + void execute(std::vector args, Design *design) override { WreduceConfig config; bool opt_memx = false; -- cgit v1.2.3