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.
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user