[llvm] 9e4f1f9 - [SystemZ] Remove redundant declaration SystemZMnemonicSpellCheck (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 28 08:38:18 PDT 2021
Author: Kazu Hirata
Date: 2021-09-28T08:38:05-07:00
New Revision: 9e4f1f926552ac061c79e420933ff9104ceefb87
URL: https://github.com/llvm/llvm-project/commit/9e4f1f926552ac061c79e420933ff9104ceefb87
DIFF: https://github.com/llvm/llvm-project/commit/9e4f1f926552ac061c79e420933ff9104ceefb87.diff
LOG: [SystemZ] Remove redundant declaration SystemZMnemonicSpellCheck (NFC)
Note that SystemZMnemonicSpellCheck is defined in
SystemZGenAsmMatcher.inc, which SystemZAsmParser.cpp includes.
Identified with readability-redundant-declaration.
Added:
Modified:
llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp b/llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
index a6e14c66feb47..95dd2141f003d 100644
--- a/llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
+++ b/llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
@@ -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,
More information about the llvm-commits
mailing list