[SystemZ] Remove redundant declaration SystemZMnemonicSpellCheck (NFC)
authorKazu Hirata <kazu@google.com>
Tue, 28 Sep 2021 15:38:05 +0000 (08:38 -0700)
committerKazu Hirata <kazu@google.com>
Tue, 28 Sep 2021 15:38:05 +0000 (08:38 -0700)
Note that SystemZMnemonicSpellCheck is defined in
SystemZGenAsmMatcher.inc, which SystemZAsmParser.cpp includes.

Identified with readability-redundant-declaration.

llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp

index a6e14c6..95dd214 100644 (file)
@@ -1519,10 +1519,6 @@ bool SystemZAsmParser::parseOperand(OperandVector &Operands,
   return false;
 }
 
-static std::string SystemZMnemonicSpellCheck(StringRef S,
-                                             const FeatureBitset &FBS,
-                                             unsigned VariantID = 0);
-
 bool SystemZAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
                                                OperandVector &Operands,
                                                MCStreamer &Out,