From 833fb10ed48ea3bcd7dff5ae0768a119db415f4e Mon Sep 17 00:00:00 2001 From: Brandon Potter Date: Mon, 27 Feb 2017 13:18:38 -0500 Subject: gpu-compute: mark functions with override if replacing virtual The clang compiler is more stringent than the recent versions of GCC when dealing with overrides. This changeset adds the specifier to the methods which need it to silence the compiler. --- src/arch/hsail/insts/gpu_static_inst.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch') diff --git a/src/arch/hsail/insts/gpu_static_inst.hh b/src/arch/hsail/insts/gpu_static_inst.hh index bb40411ed..0bddcac80 100644 --- a/src/arch/hsail/insts/gpu_static_inst.hh +++ b/src/arch/hsail/insts/gpu_static_inst.hh @@ -54,7 +54,7 @@ namespace HsailISA { public: HsailGPUStaticInst(const BrigObject *obj, const std::string &opcode); - void generateDisassembly(); + void generateDisassembly() override; int instSize() const override { return sizeof(RawMachInst); } bool isValid() const override { return true; } -- cgit v1.2.3