projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c93da7d
)
[SystemZ] Remove redundant declaration SystemZMnemonicSpellCheck (NFC)
author
Kazu Hirata
<kazu@google.com>
Tue, 28 Sep 2021 15:38:05 +0000
(08:38 -0700)
committer
Kazu 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
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
b/llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
index
a6e14c6
..
95dd214
100644
(file)
--- 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,