@@ -42,7 +42,7 @@ class M68kAsmParser : public MCTargetAsmParser {
4242 bool invalidOperand (SMLoc Loc, const OperandVector &Operands,
4343 const uint64_t &ErrorInfo);
4444 bool missingFeature (SMLoc Loc, const uint64_t &ErrorInfo);
45- bool emit (MCInst &Inst, SMLoc const & Loc, MCStreamer &Out) const ;
45+ bool emit (MCInst &Inst, SMLoc Loc, MCStreamer &Out) const ;
4646 bool parseRegisterName (MCRegister &RegNo, SMLoc Loc, StringRef RegisterName);
4747 ParseStatus parseRegister (MCRegister &RegNo);
4848
@@ -991,8 +991,7 @@ bool M68kAsmParser::parseInstruction(ParseInstructionInfo &Info, StringRef Name,
991991 return false ;
992992}
993993
994- bool M68kAsmParser::invalidOperand (SMLoc const &Loc,
995- OperandVector const &Operands,
994+ bool M68kAsmParser::invalidOperand (SMLoc Loc, OperandVector const &Operands,
996995 uint64_t const &ErrorInfo) {
997996 SMLoc ErrorLoc = Loc;
998997 char const *Diag = 0 ;
@@ -1015,13 +1014,11 @@ bool M68kAsmParser::invalidOperand(SMLoc const &Loc,
10151014 return Error (ErrorLoc, Diag);
10161015}
10171016
1018- bool M68kAsmParser::missingFeature (llvm::SMLoc const &Loc,
1019- uint64_t const &ErrorInfo) {
1017+ bool M68kAsmParser::missingFeature (SMLoc Loc, uint64_t const &ErrorInfo) {
10201018 return Error (Loc, " instruction requires a CPU feature not currently enabled" );
10211019}
10221020
1023- bool M68kAsmParser::emit (MCInst &Inst, SMLoc const &Loc,
1024- MCStreamer &Out) const {
1021+ bool M68kAsmParser::emit (MCInst &Inst, SMLoc Loc, MCStreamer &Out) const {
10251022 Inst.setLoc (Loc);
10261023 Out.emitInstruction (Inst, *STI);
10271024
0 commit comments