From: Colin LeMahieu Date: Mon, 9 Nov 2015 07:10:24 +0000 (+0000) Subject: [Hexagon] Adding override to methods. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a9275b1c2440f01a7fb16e3d9259288a0b8305e3;p=oota-llvm.git [Hexagon] Adding override to methods. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252453 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp b/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp index d0d3985a144..6c8860173d0 100644 --- a/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp +++ b/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp @@ -112,7 +112,7 @@ class HexagonAsmParser : public MCTargetAsmParser { bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, OperandVector &Operands, MCStreamer &Out, - uint64_t &ErrorInfo, bool MatchingInlineAsm); + uint64_t &ErrorInfo, bool MatchingInlineAsm) override; unsigned validateTargetOperandClass(MCParsedAsmOperand &Op, unsigned Kind) override; void OutOfRange(SMLoc IDLoc, long long Val, long long Max); @@ -160,13 +160,14 @@ public: bool parseExpressionOrOperand(OperandVector &Operands); bool parseExpression(MCExpr const *& Expr); virtual bool ParseInstruction(ParseInstructionInfo &Info, StringRef Name, - SMLoc NameLoc, OperandVector &Operands) { + SMLoc NameLoc, OperandVector &Operands) override + { llvm_unreachable("Unimplemented"); } virtual bool ParseInstruction(ParseInstructionInfo &Info, StringRef Name, - AsmToken ID, OperandVector &Operands); + AsmToken ID, OperandVector &Operands) override; - virtual bool ParseDirective(AsmToken DirectiveID); + virtual bool ParseDirective(AsmToken DirectiveID) override; }; /// HexagonOperand - Instances of this class represent a parsed Hexagon machine